X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fautomake.mk;h=ae2a5c8cde5b16be5c3050a316b576d17df17917;hb=66c5538861e0e29333b1b0ee83ea2c548c08fd8f;hp=5efe61228bbbfac409501458be78afa7d21e0552;hpb=0e7c43331444a2618cf5288fbf7035d3e0e8c4f5;p=pspp diff --git a/doc/automake.mk b/doc/automake.mk index 5efe61228b..ae2a5c8cde 100644 --- a/doc/automake.mk +++ b/doc/automake.mk @@ -46,11 +46,13 @@ doc_pspp_TEXINFOS = doc/version.texi \ doc/regression.texi \ doc/utilities.texi \ doc/variables.texi \ + doc/matrices.texi \ doc/fdl.texi doc_pspp_dev_TEXINFOS = doc/version-dev.texi \ doc/dev/intro.texi \ doc/dev/concepts.texi \ + doc/dev/gui.texi \ doc/dev/syntax.texi \ doc/dev/data.texi \ doc/dev/i18n.texi \ @@ -60,18 +62,17 @@ doc_pspp_dev_TEXINFOS = doc/version-dev.texi \ doc/dev/portable-file-format.texi \ doc/dev/spv-file-format.texi \ doc/dev/tlo-file-format.texi \ - doc/dev/encrypted-file-wrappers.texi \ - doc/dev/q2c.texi + doc/dev/encrypted-file-wrappers.texi dist_man_MANS += doc/pspp.1 \ doc/psppire.1 -EXTRA_DIST += doc/get-commands.pl \ +EXTRA_DIST += doc/get-commands.py \ doc/help-pages-list \ doc/prepdoc.sh -$(srcdir)/doc/ni.texi: $(top_srcdir)/src/language/command.def doc/get-commands.pl - $(AM_V_GEN)$(PERL) $(top_srcdir)/doc/get-commands.pl $(top_srcdir)/src/language/command.def > $@ +$(srcdir)/doc/ni.texi: $(top_srcdir)/src/language/command.def doc/get-commands.py + $(AM_V_GEN)$(PYTHON3) $(top_srcdir)/doc/get-commands.py $(top_srcdir)/src/language/command.def > $@ $(srcdir)/doc/tut.texi: $(AM_V_GEN)echo "@set example-dir $(examplesdir)" > $@ @@ -116,14 +117,17 @@ FIGURE_SYNTAX = \ doc/pspp-figures/chisquare.sps \ doc/pspp-figures/compute.sps \ doc/pspp-figures/count.sps \ + doc/pspp-figures/crosstabs.sps \ doc/pspp-figures/descriptives.sps \ doc/pspp-figures/flip.sps \ doc/pspp-figures/frequencies.sps \ + doc/pspp-figures/matrix-print.sps \ doc/pspp-figures/means.sps \ doc/pspp-figures/one-sample-t.sps \ doc/pspp-figures/independent-samples-t.sps \ doc/pspp-figures/reliability.sps \ doc/pspp-figures/select-if.sps \ + doc/pspp-figures/show-system.sps \ doc/pspp-figures/sort-cases.sps \ doc/pspp-figures/split.sps \ doc/pspp-figures/temporary.sps \ @@ -188,16 +192,16 @@ pspp_output = native/utilities/pspp-output native/Makefile: $(MKDIR_P) native - (cd native && $(top_srcdir)/configure --without-gui) + (cd native && $(abs_top_srcdir)/configure --host=$(build) --without-gui) -native/gl/libgl.la: native/Makefile - (cd native && flock --verbose $(top_builddir)/native-lock $(MAKE) gl/libgl.la) +# The gnulib header files are required for the object files of the native pspp +# They are defined in BUILT_SOURCES but that is only defined as a first dependency +# for the make all target. src/ui/terminal/pspp as a target will try to compile the +# objects first but that fails without the header files. Therefore I build the native +# executables via the default make target +$(pspp) $(pspp_output) &: native/Makefile + (cd native && flock --verbose $(top_builddir)/native-lock $(MAKE) ) -$(pspp): native/gl/libgl.la - (cd native && flock --verbose $(top_builddir)/native-lock $(MAKE) src/ui/terminal/pspp) - -$(pspp_output): native/gl/libgl.la - (cd native && flock --verbose $(top_builddir)/native-lock $(MAKE) utilities/pspp-output) else pspp = src/ui/terminal/pspp$(EXEEXT) pspp_output = utilities/pspp-output$(EXEEXT) @@ -205,12 +209,12 @@ endif $(FIGURE_SPVS): $(pspp) .sps.spv: - $(AM_V_GEN)(cd $(top_srcdir)/examples \ - && $(abs_top_builddir)/$(pspp) ../doc/pspp-figures/$( $@.tmp + $(AM_V_GEN)(cd "$(top_srcdir)/examples" \ + && "$(abs_top_builddir)/$(pspp)" ../doc/pspp-figures/$( $@.tmp $(AM_V_at)mv $@.tmp $@ # In some cases, the tutorial only wants some parts of the output. -convert = $(AM_V_GEN)$(pspp_output) convert $< $@ +convert = $(AM_V_GEN)LSAN_OPTIONS="suppressions=$(abs_top_srcdir)/tests/lsan.supp:print_suppressions=0:$$LSAN_OPTIONS" $(pspp_output) convert $< $@ doc/pspp-figures/tutorial2a.spv: doc/pspp-figures/tutorial2.spv $(pspp_output) $(convert) --command='Descriptives' doc/pspp-figures/tutorial2b.spv: doc/pspp-figures/tutorial2.spv $(pspp_output) @@ -294,6 +298,7 @@ $(top_srcdir)/doc/screenshots/chisquare.grab \ $(top_srcdir)/doc/screenshots/count.grab \ $(top_srcdir)/doc/screenshots/count-define.grab \ $(top_srcdir)/doc/screenshots/compute.grab \ +$(top_srcdir)/doc/screenshots/crosstabs.grab \ $(top_srcdir)/doc/screenshots/descriptives.grab \ $(top_srcdir)/doc/screenshots/one-sample-t.grab \ $(top_srcdir)/doc/screenshots/independent-samples-t.grab \