1 ## Process this file with automake to produce Makefile.in -*- makefile -*-
3 info_TEXINFOS = doc/pspp.texinfo doc/pspp-dev.texinfo
5 doc_pspp_TEXINFOS = doc/version.texi \
7 doc/command-index.texi \
8 doc/concept-index.texi \
11 doc/data-selection.texi \
12 doc/expressions.texi \
15 doc/flow-control.texi \
16 doc/function-index.texi \
18 doc/introduction.texi \
23 doc/not-implemented.texi \
25 doc/transformation.texi \
33 doc_pspp_dev_TEXINFOS = doc/version-dev.texi \
35 doc/dev/concepts.texi \
40 doc/dev/system-file-format.texi \
41 doc/dev/portable-file-format.texi \
44 EXTRA_DIST += doc/pspp.man \
47 doc/ni.texi: $(top_srcdir)/src/language/command.def doc/get-commands.pl
49 $(PERL) $(top_srcdir)/doc/get-commands.pl $(top_srcdir)/src/language/command.def > $@
53 echo "@set example-dir $(examplesdir)" > $@
56 doc/pspp.xml: doc/pspp.texinfo $(doc_pspp_TEXINFOS)
58 $(MAKEINFO) $(AM_MAKEINFOFLAGS) --docbook -I $(top_srcdir) \
59 $(top_srcdir)/doc/pspp.texinfo -o - \
60 | $(SED) 's/Time-&-Date/Time-\&-Date/g' > $@
61 $(XMLLINT) --output /dev/null $@ 2>&1 2> /dev/null || ( $(RM) $@ && false )
63 docbookdir = $(docdir)
64 docbook_DATA = doc/pspp.xml
67 EXTRA_DIST += doc/OChangeLog
68 CLEANFILES += pspp-dev.dvi $(docbook_DATA)