From e55bfe0add20f87445b6f2fa6b6e3b0db2a8a0b4 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sun, 11 Oct 2009 13:33:27 -0700 Subject: [PATCH] Avoid nonportable -i option in sed invocation. POSIX sed only has -e, -f, and -n options. --- doc/automake.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/automake.mk b/doc/automake.mk index b75aee0b..d1475c4c 100644 --- a/doc/automake.mk +++ b/doc/automake.mk @@ -55,8 +55,8 @@ doc/tut.texi: doc/pspp.xml: doc/pspp.texinfo $(doc_pspp_TEXINFOS) @$(MKDIR_P) doc - $(MAKEINFO) $(AM_MAKEINFOFLAGS) --docbook -I $(top_srcdir) $< -o $@ - $(SED) -i -e 's/Time-&-Date/Time-\&-Date/g' $@ + $(MAKEINFO) $(AM_MAKEINFOFLAGS) --docbook -I $(top_srcdir) $< -o - \ + | $(SED) 's/Time-&-Date/Time-\&-Date/g' > $@ docbookdir = $(docdir) docbook_DATA = doc/pspp.xml -- 2.30.2