aboutsummaryrefslogtreecommitdiff
path: root/install.txt.do
blob: bb6f727f70fa479d79c7ec267874489d42e5c135 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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")
            (setq org-export-with-toc nil)
            (org-ascii-export-to-ascii nil t))'

mv "$3.txt" "$3"