X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fautomake.mk;h=9402d7af0aea98ab731007f7b905f251973c13f3;hb=HEAD;hp=14359e6d71c97d03049be8bcfbe08ede88d8e4c6;hpb=51755f0fbf79c3e5c756b5b835b0ce15267e02d3;p=pspp-builds.git diff --git a/doc/automake.mk b/doc/automake.mk index 14359e6d..9402d7af 100644 --- a/doc/automake.mk +++ b/doc/automake.mk @@ -23,6 +23,8 @@ doc_pspp_TEXINFOS = doc/version.texi \ doc/not-implemented.texi \ doc/statistics.texi \ doc/transformation.texi \ + doc/tutorial.texi \ + doc/tut.texi \ doc/regression.texi \ doc/utilities.texi \ doc/variables.texi \ @@ -33,6 +35,7 @@ doc_pspp_dev_TEXINFOS = doc/version-dev.texi \ doc/dev/concepts.texi \ doc/dev/syntax.texi \ doc/dev/data.texi \ + doc/dev/i18n.texi \ doc/dev/output.texi \ doc/dev/system-file-format.texi \ doc/dev/portable-file-format.texi \ @@ -45,22 +48,19 @@ doc/ni.texi: $(top_srcdir)/src/language/command.def doc/get-commands.pl @$(MKDIR_P) doc @PERL@ $(top_srcdir)/doc/get-commands.pl $(top_srcdir)/src/language/command.def > $@ -# 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. -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 ; \ - done +doc/tut.texi: + @$(MKDIR_P) doc + echo "@set example-dir $(examplesdir)" > $@ + + +doc/pspp.xml: doc/pspp.texinfo $(doc_pspp_TEXINFOS) + @$(MKDIR_P) doc + $(MAKEINFO) --docbook -I $(top_srcdir) $< -o $@ + $(SED) -i -e 's/Time-&-Date/Time-\&-Date/g' $@ + +docbookdir = $(docdir) +docbook_DATA = doc/pspp.xml -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 +CLEANFILES += pspp-dev.dvi $(docbook_DATA)