doc/dev/pc+-file-format.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
EXAMPLE_TXTS = $(EXAMPLE_SPVS:.spv=.txt)
EXAMPLE_TEXIS = $(EXAMPLE_TXTS:.txt=.texi)
EXAMPLE_HTML = $(EXAMPLE_SPVS:.spv=.html)
+EXAMPLE_PDF = $(EXAMPLE_SPVS:.spv=.pdf)
example-spv: $(EXAMPLE_SPVS)
example-txts: $(EXAMPLE_TXTS)
example-texis: $(EXAMPLE_TEXIS)
example-html: $(EXAMPLE_HTML)
-PHONY += example-spv example-txts example-texis example-html
+example-pdf: $(EXAMPLE_PDF)
+PHONY += example-spv example-txts example-texis example-html example-pdf
$(top_builddir)/doc/pspp.info: $(EXAMPLE_TEXIS)
$(top_builddir)/doc/pspp.ps: $(EXAMPLE_TEXIS)
$(top_builddir)/doc/pspp.xml: $(EXAMPLE_TEXIS)
CLEANFILES += $(EXAMPLE_TXTS) $(EXAMPLE_SPVS) $(EXAMPLE_TEXIS) $(EXAMPLE_HTML)
-SUFFIXES += .sps .spv .txt .html .texi
+SUFFIXES += .sps .spv .txt .html .texi .pdf
# Use pspp to process a syntax file into an output file.
pspp = src/ui/terminal/pspp
-$(EXAMPLE_SPVS): $(pspp)
+$(EXAMPLE_SPVS): $(pspp)$(EXEEXT)
.sps.spv:
$(AM_V_GEN)(cd $(top_srcdir)/examples \
&& $(abs_top_builddir)/$(pspp) ../doc/examples/$(<F) -o - -O format=spv) > $@.tmp
$(convert) --commands=regression --nth-command=2 --subtypes=coefficients
# Convert an output file into a text file or HTML file.
-#
-# (For HTML, use sed to include only the contents of <body>.)
$(EXAMPLE_TXTS) $(EXAMPLE_HTML): $(pspp_output)
.spv.txt:
$(AM_V_GEN)utilities/pspp-output convert $< $@
+.spv.pdf:
+ $(AM_V_GEN)utilities/pspp-output convert $< $@ -O left-margin=0pt -O right-margin=0pt -O top-margin=0pt -O bottom-margin=0pt -O paper-size=6x20in -O font-size=12000 --table-look=$(HOME)/pspp/spss15/Looks/report.tlo
.spv.html:
- $(AM_V_GEN)utilities/pspp-output convert $< - -O format=html -O bare=true > $@.tmp
- $(AM_V_at)mv $@.tmp $@
+ $(AM_V_GEN)utilities/pspp-output convert $< $@ -O format=html -O bare=true
# Convert a text file into a Texinfo file.
.txt.texi:
- $(AM_V_GEN)sed 's/@/@@/g' < $< > $@.tmp
- $(AM_V_at)mv $@.tmp $@
+ $(AM_V_GEN)$(SED) -e 's/@/@@/g' $< > $@
AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS) --css-ref=pspp-manual.css
+html-local:
+
install-html-local: html-local
$(MKDIR_P) $(DESTDIR)$(prefix)/share/doc/pspp/pspp.html
$(INSTALL_DATA) ${top_srcdir}/doc/pspp-manual.css $(DESTDIR)$(prefix)/share/doc/pspp/pspp.html