X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fautomake.mk;h=7c19acc01a52c4d5a85b40570b72d9ecf44524ba;hb=1d2780996f3f615c2ea19ddfc1c9e1592fa64b70;hp=4eb3b30016d42dd6cd8e2ff7f00c6bc6ebfcb5b9;hpb=eba3cf1b8a2fcfee20eabc51aa8f91b1f276f2f7;p=pspp-builds.git diff --git a/doc/automake.mk b/doc/automake.mk index 4eb3b300..7c19acc0 100644 --- a/doc/automake.mk +++ b/doc/automake.mk @@ -36,16 +36,15 @@ EXTRA_DIST += doc/pspp.man \ doc/get-commands.pl \ $(doc_pspp_TEXINFOS) -CLEANFILES += doc/pspp.info doc/pspp.info-* $(top_builddir)/doc/ni.texi - -#Kludge to overcome automake limitations -doc/%.dvi: am__TEXINFO_TEX_DIR=$(top_builddir)/doc +# Kludge to get around automake deficiency. +am__TEXINFO_TEX_DIR=./doc doc/ni.texi: $(top_srcdir)/src/language/command.def doc/get-commands.pl - @mkdir -p doc + @$(top_srcdir)/mkinstalldirs doc @PERL@ $(top_srcdir)/doc/get-commands.pl $(top_srcdir)/src/language/command.def > $@ -$(INFO_DEPS): $(top_builddir)/doc/ni.texi -$(HTML_DEPS): $(top_builddir)/doc/ni.texi +$(INFO_DEPS): doc/ni.texi +$(HTML_DEPS): doc/ni.texi +CLEANFILES += doc/ni.texi