aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-16 18:32:47 -0500
committerMike Frysinger <vapier@gentoo.org>2015-12-16 18:32:47 -0500
commit35525e096061c33b9c10cfb2b0312846b4b0b9fe (patch)
tree86dcb5db4756658c7a83652cd31fc1283ed5d9f0 /man
parentenable travis build support (diff)
downloadpax-utils-35525e096061c33b9c10cfb2b0312846b4b0b9fe.tar.gz
pax-utils-35525e096061c33b9c10cfb2b0312846b4b0b9fe.tar.bz2
pax-utils-35525e096061c33b9c10cfb2b0312846b4b0b9fe.zip
use `sed -E -i.tmp` everywhere
POSIX is adding the -E flag to enable ERE behavior, and GNU/sed already supports this, as do various BSD systems (including OS X). While GNU makes the suffix to -i optional, POSIX/etc... do not, so make sure we always specify it.
Diffstat (limited to 'man')
-rw-r--r--man/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/man/Makefile b/man/Makefile
index 5332962..6f1f185 100644
--- a/man/Makefile
+++ b/man/Makefile
@@ -4,7 +4,8 @@ XMLTO_FLAGS_man = -x custom.xsl --skip-validation
man pdf txt xhtml xhtml-nochunks:
@xmlto $@ $(XMLTO_FLAGS_$@) pax-utils.docbook || echo "If this failed, you probably need to emerge ~app-text/docbook-xml-dtd-4.4 app-text/xmlto dev-tex/xmltex"
@# scanelf.1 has funky indented lists ... hack it back
- @sed -i 's:^[.]TP 4:.TP 2:' scanelf.1
+ @sed -i.tmp 's:^[.]TP 4:.TP 2:' scanelf.1
+ @rm scanelf.1.tmp
clean distclean:
rm -f *.1 *.html