blob: 739269736bfc22e35424dd3d5f30374371f7379a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# 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
.PHONY: all dist htmldocs
|