From 86277ebe36f4d4a854b62a445ec2f65d99e0c377 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sun, 1 Nov 2020 12:19:32 +0100 Subject: [PATCH] doc/automake.mk: Simplify conversion rules --- doc/automake.mk | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/automake.mk b/doc/automake.mk index c380d12ec3..4e60b98ca5 100644 --- a/doc/automake.mk +++ b/doc/automake.mk @@ -192,13 +192,11 @@ $(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 -- 2.30.2