Fix parsing of some more .tlo files.
[pspp] / doc / automake.mk
index bf09d6a3eb13b8e50ab509fb08cc529716ee664e..6b8c37331a3333a1eca80800c45de40d40a4b279 100644 (file)
@@ -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/tlo-file-format.texi \
        doc/dev/encrypted-file-wrappers.texi \
        doc/dev/q2c.texi
 
@@ -188,19 +189,15 @@ doc/examples/tutorial7b.spv: doc/examples/tutorial7.spv $(pspp_output)
        $(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.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
 install-html-local: html-local