aboutsummaryrefslogtreecommitdiff
path: root/docs/default.do
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-02-04 14:30:43 +0000
committermerakor <cem@ckyln.com>2021-02-04 14:30:43 +0000
commit97312778a09decf65030e994e72ce07434ce0f07 (patch)
treeeeb18b94a461a05a6993d98ab9a68eee1152faf9 /docs/default.do
parent63c4051197cfcad2231de6eb9874055d668f47df (diff)
downloadcpt-97312778a09decf65030e994e72ce07434ce0f07.tar.gz
cpt: switch back to 'make'
FossilOrigin-Name: 048c099fa4155f31725c51c27b09359d7b04f4c2d7e64f2a2b381ab7dea7803d
Diffstat (limited to 'docs/default.do')
-rw-r--r--docs/default.do33
1 files changed, 0 insertions, 33 deletions
diff --git a/docs/default.do b/docs/default.do
deleted file mode 100644
index fcf8802..0000000
--- a/docs/default.do
+++ /dev/null
@@ -1,33 +0,0 @@
-SRC_ROOT=..
-. ../config.rc
-
-# Extensionless name of file
-fn="${1%.*}"
-
-case "$1" in
- all) redo info ;;
- allclean) redo ../clean; rm -f cpt.texi ;;
- info) redo-ifchange cpt.info cpt.texi cpt.org ;;
- *.info)
- # Don't bother if makeinfo doesn't exist on the system, exit with success.
- if ! command -v $MAKEINFO >/dev/null; then
- PHONY
- exit 0
- fi
- redo-ifchange "$fn.texi"
- $MAKEINFO "$fn.texi" -o "$3"
- ;;
- *.texi)
- [ -f "$fn.org" ] || exit 0
- redo-ifchange "$fn.org"
- cp "$fn.org" "$3.org"
- $EMACS "$3.org" --batch -f org-texinfo-export-to-texinfo
- rm -f "$3.org"
- mv "$3.texi" "$3"
- ;;
- *)
- echo "Unknown target $1"
- exit 99
-esac
-
-PHONY all info html