X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fautomake.mk;h=7c19acc01a52c4d5a85b40570b72d9ecf44524ba;hb=42489b63e0b4bec2e20c2f55c9791234f7b41764;hp=4eb3b30016d42dd6cd8e2ff7f00c6bc6ebfcb5b9;hpb=571f85fc18f4b8cafea2d7b8ea6cf2c4cb2b02c8;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