aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: fff244271eeb6b6ec0af59f7df4292a51b407ad0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# This Makefile is meant to generate a dist tarball in order to avoid installing
# texinfo on the target system.
TARBALL=carbs-docs-`date +%Y-%m-%d`
DESTDIR=./docs

all:

dist:
	mkdir -p ${TARBALL}
	makeinfo -o ${TARBALL}/carbslinux.info top.texi
	makeinfo --plaintext top.texi > ${TARBALL}/carbslinux.txt
	cp extMakefile ${TARBALL}/Makefile
	tar -cf ${TARBALL}.tar ${TARBALL}
	gzip -9 ${TARBALL}.tar
	rm -rf ${TARBALL}.tar ${TARBALL}

htmldocs:
	rm -rf -- ${DESTDIR}
	makeinfo --html -o ${DESTDIR} top.texi
	makeinfo --plaintext -o ${DESTDIR}/install.txt install.texi

.PHONY: all dist htmldocs