+ $(PERL) $(top_srcdir)/doc/get-commands.pl $(top_srcdir)/src/language/command.def > $@
+
+$(srcdir)/doc/tut.texi:
+ @$(MKDIR_P) doc
+ echo "@set example-dir $(examplesdir)" > $@
+
+
+$(srcdir)/doc/pspp.xml: doc/pspp.texinfo $(doc_pspp_TEXINFOS)
+ @$(MKDIR_P) doc
+ $(MAKEINFO) $(AM_MAKEINFOFLAGS) --docbook -I $(top_srcdir) \
+ $(top_srcdir)/doc/pspp.texinfo -o - \
+ | $(SED) -e 's/Time-&-Date/Time-\&-Date/g' \
+ -e 's/“/\“/g' \
+ -e 's/”/\”/g' \
+ -e 's/‘/\‘/g' \
+ -e 's/’/\’/g' \
+ -e 's/—/\—/g' \
+ -e 's/–/\′/g' \
+ -e 's/©/\©/g' \
+ -e 's/−/\−/g' \
+ -e 's/…/\…/g' \
+ -e 's/././g' \
+ > $@
+ $(XMLLINT) --output /dev/null $@ 2>&1 2> /dev/null || ( $(RM) $@ && false )
+
+docbookdir = $(docdir)
+dist_docbook_DATA = doc/pspp.xml
+
+EXTRA_DIST += doc/OChangeLog
+CLEANFILES += pspp-dev.dvi $(docbook_DATA)