odt: Avoid assertion failure if "mimetype" file cannot be created.
[pspp-builds.git] / doc / automake.mk
1 ## Process this file with automake to produce Makefile.in  -*- makefile -*-
2
3 info_TEXINFOS = doc/pspp.texinfo doc/pspp-dev.texinfo
4
5 doc_pspp_TEXINFOS = doc/version.texi \
6         doc/bugs.texi \
7         doc/command-index.texi \
8         doc/concept-index.texi \
9         doc/configuring.texi \
10         doc/data-io.texi \
11         doc/data-selection.texi \
12         doc/expressions.texi \
13         doc/files.texi \
14         doc/combining.texi \
15         doc/flow-control.texi \
16         doc/function-index.texi \
17         doc/installing.texi \
18         doc/introduction.texi \
19         doc/invoking.texi \
20         doc/language.texi \
21         doc/license.texi \
22         doc/ni.texi \
23         doc/not-implemented.texi \
24         doc/statistics.texi \
25         doc/transformation.texi \
26         doc/tutorial.texi \
27         doc/tut.texi \
28         doc/regression.texi \
29         doc/utilities.texi \
30         doc/variables.texi \
31         doc/fdl.texi 
32
33 doc_pspp_dev_TEXINFOS = doc/version-dev.texi \
34         doc/dev/intro.texi \
35         doc/dev/concepts.texi \
36         doc/dev/syntax.texi \
37         doc/dev/data.texi \
38         doc/dev/i18n.texi \
39         doc/dev/output.texi \
40         doc/dev/system-file-format.texi \
41         doc/dev/portable-file-format.texi \
42         doc/dev/q2c.texi
43
44 EXTRA_DIST += doc/pspp.man \
45         doc/get-commands.pl
46
47 doc/ni.texi: $(top_srcdir)/src/language/command.def doc/get-commands.pl
48         @$(MKDIR_P)  doc
49         $(PERL) $(top_srcdir)/doc/get-commands.pl $(top_srcdir)/src/language/command.def > $@
50
51 doc/tut.texi:
52         @$(MKDIR_P) doc
53         echo "@set example-dir $(examplesdir)" > $@
54
55
56 doc/pspp.xml: doc/pspp.texinfo $(doc_pspp_TEXINFOS)
57         @$(MKDIR_P)  doc
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 )
62
63 docbookdir = $(docdir)
64 docbook_DATA = doc/pspp.xml
65
66
67 EXTRA_DIST += doc/OChangeLog
68 CLEANFILES += pspp-dev.dvi $(docbook_DATA)