aboutsummaryrefslogtreecommitdiff
path: root/install.txt.do
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-12-26 02:39:36 +0300
committerCem Keylan <cem@ckyln.com>2020-12-26 03:12:25 +0300
commitd1590234d19724f14e8ba94582986963fce47267 (patch)
tree1bb6273414ef57443b3cdda21f0329b0dc8ae742 /install.txt.do
parent06aca27d4b504ea5f42f4611fa3b44d9429bea75 (diff)
downloaddocs-d1590234d19724f14e8ba94582986963fce47267.tar.gz
docs: switch to redo build system.20201226
Diffstat (limited to 'install.txt.do')
-rw-r--r--install.txt.do12
1 files changed, 12 insertions, 0 deletions
diff --git a/install.txt.do b/install.txt.do
new file mode 100644
index 0000000..1ce0be9
--- /dev/null
+++ b/install.txt.do
@@ -0,0 +1,12 @@
+exec >&2
+. ./config.rc
+redo-ifchange "$ORG"
+
+cp "$ORG" "$3.org"
+trap 'rm -f $3.org' EXIT INT
+
+${EMACS} "$3.org" --eval \
+ '(progn (replace-regexp "^* Installation" "* Carbs Linux Installation Guide")
+ (org-ascii-export-to-ascii nil t))'
+
+mv "$3.txt" "$3"