Delete trailing whitespace at line endings.
[pspp] / doc / automake.mk
1 ## PSPP - a program for statistical analysis.
2 ## Copyright (C) 2019 Free Software Foundation, Inc.
3 ##
4 ## This program is free software: you can redistribute it and/or modify
5 ## it under the terms of the GNU General Public License as published by
6 ## the Free Software Foundation, either version 3 of the License, or
7 ## (at your option) any later version.
8 ##
9 ## This program is distributed in the hope that it will be useful,
10 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 ## GNU General Public License for more details.
13 ##
14 ## You should have received a copy of the GNU General Public License
15 ## along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
17 ## Process this file with automake to produce Makefile.in  -*- makefile -*-
18
19 info_TEXINFOS = doc/pspp.texi doc/pspp-dev.texi
20
21 doc_pspp_TEXINFOS = doc/version.texi \
22         doc/bugs.texi \
23         doc/command-index.texi \
24         doc/concept-index.texi \
25         doc/data-io.texi \
26         doc/data-selection.texi \
27         doc/expressions.texi \
28         doc/files.texi \
29         doc/combining.texi \
30         doc/flow-control.texi \
31         doc/function-index.texi \
32         doc/installing.texi \
33         doc/introduction.texi \
34         doc/invoking.texi \
35         doc/language.texi \
36         doc/license.texi \
37         doc/pspp-convert.texi \
38         doc/pspp-dump-sav.texi \
39         doc/ni.texi \
40         doc/not-implemented.texi \
41         doc/statistics.texi \
42         doc/transformation.texi \
43         doc/tutorial.texi \
44         doc/tut.texi \
45         doc/regression.texi \
46         doc/utilities.texi \
47         doc/variables.texi \
48         doc/fdl.texi
49
50 doc_pspp_dev_TEXINFOS = doc/version-dev.texi \
51         doc/dev/intro.texi \
52         doc/dev/concepts.texi \
53         doc/dev/syntax.texi \
54         doc/dev/data.texi \
55         doc/dev/i18n.texi \
56         doc/dev/output.texi \
57         doc/dev/system-file-format.texi \
58         doc/dev/pc+-file-format.texi \
59         doc/dev/portable-file-format.texi \
60         doc/dev/spv-file-format.texi \
61         doc/dev/encrypted-file-wrappers.texi \
62         doc/dev/q2c.texi
63
64 dist_man_MANS += doc/pspp.1 \
65                  doc/psppire.1
66
67 EXTRA_DIST += doc/get-commands.pl doc/help-pages-list
68
69 $(srcdir)/doc/ni.texi: $(top_srcdir)/src/language/command.def doc/get-commands.pl
70         @$(MKDIR_P)  doc
71         $(AM_V_GEN)$(PERL) $(top_srcdir)/doc/get-commands.pl $(top_srcdir)/src/language/command.def > $@
72
73 $(srcdir)/doc/tut.texi:
74         @$(MKDIR_P) doc
75         $(AM_V_GEN)echo "@set example-dir $(examplesdir)" > $@
76
77
78 $(srcdir)/doc/pspp.xml: doc/pspp.texi $(doc_pspp_TEXINFOS) $(top_srcdir)/doc/help-pages-list
79 if BROKEN_DOCBOOK_XML
80         touch $@
81 else
82         @$(MKDIR_P)  doc
83         $(AM_V_GEN)$(MAKEINFO) $(AM_MAKEINFOFLAGS) --docbook -I $(top_srcdir) \
84                 $< -o $@
85 endif
86
87 docbookdir = $(docdir)
88 dist_docbook_DATA = doc/pspp.xml
89
90
91 CLEANFILES += pspp-dev.dvi $(docbook_DATA)
92
93 doc: $(INFO_DEPS) $(DVIS) $(PDFS) $(PSS) $(HTMLS) $(dist_docbook_DATA)
94 .PHONY: doc