From e2b97c605195dfc4d899caeb4002aea6a1e26471 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 20 Feb 2023 17:48:54 -0800 Subject: [PATCH] doc: Avoid using stdout in Makefile rule to generate .spv files. When pspp writes anything to stdout, also writing the .spv file to stdout causes confusing corruption. This avoids the problem. --- doc/automake.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/automake.mk b/doc/automake.mk index aea1a6d6c7..110e379d11 100644 --- a/doc/automake.mk +++ b/doc/automake.mk @@ -238,8 +238,8 @@ endif $(FIGURE_SPVS): $(pspp) .sps.spv: - $(AM_V_GEN)(cd "$(top_srcdir)/examples" \ - && "$(abs_top_builddir)/$(pspp)" ../doc/pspp-figures/$( $@.tmp + $(AM_V_GEN)of=`pwd`/$@.tmp; (cd "$(top_srcdir)/examples" \ + && "$(abs_top_builddir)/$(pspp)" ../doc/pspp-figures/$(