projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
work on getting better output into documentation
[pspp]
/
doc
/
automake.mk
diff --git
a/doc/automake.mk
b/doc/automake.mk
index 4e60b98ca51e4077c05a80c0a92a2cddb6454e74..e18086331f6f975d44434b297983fb860e5d8129 100644
(file)
--- a/
doc/automake.mk
+++ b/
doc/automake.mk
@@
-59,6
+59,7
@@
doc_pspp_dev_TEXINFOS = doc/version-dev.texi \
doc/dev/pc+-file-format.texi \
doc/dev/portable-file-format.texi \
doc/dev/spv-file-format.texi \
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
doc/dev/encrypted-file-wrappers.texi \
doc/dev/q2c.texi
@@
-146,12
+147,14
@@
EXAMPLE_SPVS = $(EXAMPLE_SYNTAX:.sps=.spv) \
EXAMPLE_TXTS = $(EXAMPLE_SPVS:.spv=.txt)
EXAMPLE_TEXIS = $(EXAMPLE_TXTS:.txt=.texi)
EXAMPLE_HTML = $(EXAMPLE_SPVS:.spv=.html)
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)
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.info: $(EXAMPLE_TEXIS)
$(top_builddir)/doc/pspp.ps: $(EXAMPLE_TEXIS)
@@
-161,10
+164,10
@@
$(top_builddir)/doc/pspp.pdf: $(EXAMPLE_TEXIS)
$(top_builddir)/doc/pspp.xml: $(EXAMPLE_TEXIS)
CLEANFILES += $(EXAMPLE_TXTS) $(EXAMPLE_SPVS) $(EXAMPLE_TEXIS) $(EXAMPLE_HTML)
$(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.
# Use pspp to process a syntax file into an output file.
-pspp = src/ui/terminal/pspp
+pspp = src/ui/terminal/pspp
$(EXEEXT)
$(EXAMPLE_SPVS): $(pspp)
.sps.spv:
$(AM_V_GEN)(cd $(top_srcdir)/examples \
$(EXAMPLE_SPVS): $(pspp)
.sps.spv:
$(AM_V_GEN)(cd $(top_srcdir)/examples \
@@
-191,6
+194,8
@@
doc/examples/tutorial7b.spv: doc/examples/tutorial7.spv $(pspp_output)
$(EXAMPLE_TXTS) $(EXAMPLE_HTML): $(pspp_output)
.spv.txt:
$(AM_V_GEN)utilities/pspp-output convert $< $@
$(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
.spv.html:
$(AM_V_GEN)utilities/pspp-output convert $< $@ -O format=html -O bare=true
@@
-199,6
+204,8
@@
$(EXAMPLE_TXTS) $(EXAMPLE_HTML): $(pspp_output)
$(AM_V_GEN)$(SED) -e 's/@/@@/g' $< > $@
AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS) --css-ref=pspp-manual.css
$(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
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