aboutsummaryrefslogtreecommitdiffstats
path: root/mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-04-25 10:43:44 +0200
committerMattias Andrée <maandree@operamail.com>2015-04-25 10:43:44 +0200
commit3ba74289b85199a3079c05788321a9593e16f08f (patch)
tree19f8b1b62fa1ec033ec5bb3d0580e489516c92fc /mk
parentadd gpl3 to the manual (diff)
downloadmds-3ba74289b85199a3079c05788321a9593e16f08f.tar.gz
mds-3ba74289b85199a3079c05788321a9593e16f08f.tar.bz2
mds-3ba74289b85199a3079c05788321a9593e16f08f.tar.xz
info: add indices (currently empty)
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'mk')
-rw-r--r--mk/build-doc.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/mk/build-doc.mk b/mk/build-doc.mk
index ad98d46..613d2cc 100644
--- a/mk/build-doc.mk
+++ b/mk/build-doc.mk
@@ -36,16 +36,19 @@ bin/%.info bin/%.info-1 bin/%.info-2: doc/info/%.texinfo doc/info/*.texinfo
mv $*.info $*.info-* bin
bin/%.pdf: doc/info/%.texinfo doc/info/*.texinfo # obj/logo.pdf
+ @! test -d obj/pdf || rm -rf obj/pdf
@mkdir -p obj/pdf bin
cd obj/pdf && yes X | texi2pdf $(TEXIFLAGS) ../../$<
mv obj/pdf/$*.pdf $@
bin/%.dvi: doc/info/%.texinfo doc/info/*.texinfo # obj/logo.eps
+ @! test -d obj/dvi || rm -rf obj/dvi
@mkdir -p obj/dvi bin
cd obj/dvi && yes X | $(TEXI2DVI) $(TEXIFLAGS) ../../$<
mv obj/dvi/$*.dvi $@
bin/%.ps: doc/info/%.texinfo doc/info/*.texinfo # obj/logo.eps
+ @! test -d obj/ps || rm -rf obj/ps
@mkdir -p obj/ps bin
cd obj/ps && yes X | texi2pdf $(TEXIFLAGS) --ps ../../$<
mv obj/ps/$*.ps $@