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 \
10 doc/data-selection.texi \
11 doc/expressions.texi \
14 doc/flow-control.texi \
15 doc/function-index.texi \
17 doc/introduction.texi \
22 doc/not-implemented.texi \
24 doc/transformation.texi \
32 doc_pspp_dev_TEXINFOS = doc/version-dev.texi \
34 doc/dev/concepts.texi \
39 doc/dev/system-file-format.texi \
40 doc/dev/portable-file-format.texi \
43 EXTRA_DIST += doc/pspp.man \
46 doc/ni.texi: $(top_srcdir)/src/language/command.def doc/get-commands.pl
48 $(PERL) $(top_srcdir)/doc/get-commands.pl $(top_srcdir)/src/language/command.def > $@
52 echo "@set example-dir $(examplesdir)" > $@
55 doc/pspp.xml: doc/pspp.texinfo $(doc_pspp_TEXINFOS)
57 $(MAKEINFO) $(AM_MAKEINFOFLAGS) --docbook -I $(top_srcdir) \
58 $(top_srcdir)/doc/pspp.texinfo -o - \
59 | $(SED) 's/Time-&-Date/Time-\&-Date/g' > $@
60 $(XMLLINT) --output /dev/null $@ 2>&1 2> /dev/null || ( $(RM) $@ && false )
62 docbookdir = $(docdir)
63 docbook_DATA = doc/pspp.xml
66 EXTRA_DIST += doc/OChangeLog
67 CLEANFILES += pspp-dev.dvi $(docbook_DATA)