X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fautomake.mk;h=3445379a1ca756e00e62751623ab4759cdf12dc0;hb=3e56dcc3dc3ff159db8f6d9f008636c30b2866ce;hp=84118c198a3b1b2e118c98acab38ec5a8e923117;hpb=cf8e13654be26583755ad9d9c4128c9b6ec925a7;p=pspp-builds.git diff --git a/doc/automake.mk b/doc/automake.mk index 84118c19..3445379a 100644 --- a/doc/automake.mk +++ b/doc/automake.mk @@ -46,7 +46,12 @@ doc/ni.texi: $(top_srcdir)/src/language/command.def doc/get-commands.pl # It seems that recent versions of yelp, upon which the gui relies to display the reference # manual, are broken. It only works on compressed info files. So we must compress them. -install-data-hook:: +if WITHGUI +YELP_CHECK = yelp-check +else +YELP_CHECK = +endif +install-data-hook:: $(YELP_CHECK) for ifile in $(DESTDIR)$(infodir)/pspp.info-[0-9] \ $(DESTDIR)$(infodir)/pspp.info ; do \ gzip -f $$ifile ; \ @@ -55,3 +60,6 @@ install-data-hook:: uninstall-hook:: rm -f $(DESTDIR)$(infodir)/pspp.info-[0-9].gz rm -f $(DESTDIR)$(infodir)/pspp.info.gz + +EXTRA_DIST += doc/OChangeLog +CLEANFILES += pspp-dev.dvi