From: Ben Pfaff Date: Sun, 11 Oct 2009 20:33:27 +0000 (-0700) Subject: Avoid nonportable -i option in sed invocation. X-Git-Tag: lenny-x64-build41~7 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp-builds.git;a=commitdiff_plain;h=e55bfe0add20f87445b6f2fa6b6e3b0db2a8a0b4 Avoid nonportable -i option in sed invocation. POSIX sed only has -e, -f, and -n options. --- 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