aboutsummaryrefslogtreecommitdiff
path: root/Makefile
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 /Makefile
parent06aca27d4b504ea5f42f4611fa3b44d9429bea75 (diff)
downloaddocs-d1590234d19724f14e8ba94582986963fce47267.tar.gz
docs: switch to redo build system.20201226
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile40
1 files changed, 0 insertions, 40 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index cc64acf..0000000
--- a/Makefile
+++ /dev/null
@@ -1,40 +0,0 @@
-# This Makefile is meant to generate a dist tarball in order to avoid installing
-# texinfo on the target system.
-PREFIX = /usr/local
-SHAREDIR = ${PREFIX}/share
-INFODIR = ${SHAREDIR}/info
-DOCDIR = ${SHAREDIR}/doc
-TARBALL = carbs-docs-`date +%Y%m%d`
-HTMLDIR = ./carbslinux
-TEXI = contribution.texi cpt.texi init.texi install.texi top.texi
-OBJ = carbslinux.info carbslinux.txt
-
-all: ${OBJ}
- @echo run \'make install\' if you want to install the docs.
-
-clean:
- rm -f ${OBJ} ${TARBALL}.tar.gz
-
-carbslinux.txt: ${TEXI}
- makeinfo --plaintext top.texi -o carbslinux.txt
-
-carbslinux.info: ${TEXI}
- makeinfo top.texi -o carbslinux.info
-
-dist: ${OBJ}
- mkdir -p ${TARBALL}
- cp ${OBJ} ${TEXI} Makefile README.md ${TARBALL}
- tar -cf ${TARBALL}.tar ${TARBALL}
- gzip -9 ${TARBALL}.tar
- rm -rf ${TARBALL}.tar ${TARBALL}
-
-htmldocs: ${OBJ}
- rm -f -- ${HTMLDIR}/*
- makeinfo --html -o ${HTMLDIR} top.texi
- makeinfo --plaintext -o ${HTMLDIR}/install.txt install.texi
-
-install: carbslinux.info carbslinux.txt
- install -Dm644 carbslinux.info ${DESTDIR}${INFODIR}/carbslinux.info
- install -Dm644 carbslinux.txt ${DESTDIR}${DOCDIR}/carbslinux.txt
-
-.PHONY: all dist htmldocs install clean