From d1590234d19724f14e8ba94582986963fce47267 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sat, 26 Dec 2020 02:39:36 +0300 Subject: docs: switch to redo build system. --- Makefile | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.2.3