summaryrefslogtreecommitdiff
path: root/share/doc
diff options
context:
space:
mode:
authorapb <apb@NetBSD.org>2008-10-25 22:27:34 +0000
committerapb <apb@NetBSD.org>2008-10-25 22:27:34 +0000
commitf46c1de7cbdec5bc8a818069ff8760cb0b3581d2 (patch)
tree5c3118f28e2161d36621caa1dc75ffe469312e1f /share/doc
parent89799ead73e9671c68327c04a475cc5762a86697 (diff)
Use ${TOOL_SED} instead if plain sed in Makefiles.
Diffstat (limited to 'share/doc')
-rw-r--r--share/doc/atf/Makefile4
-rw-r--r--share/doc/iso/wisc/Makefile11
2 files changed, 8 insertions, 7 deletions
diff --git a/share/doc/atf/Makefile b/share/doc/atf/Makefile
index 30c0605afd7..a123eac1e7e 100644
--- a/share/doc/atf/Makefile
+++ b/share/doc/atf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2008/05/01 15:35:50 jmmv Exp $
+# $NetBSD: Makefile,v 1.4 2008/10/25 22:27:35 apb Exp $
.include <bsd.own.mk>
@@ -19,7 +19,7 @@ MAN+= atf-c-api.3 atf-c++-api.3 atf-sh-api.3
CLEANFILES+= atf.7 atf.7.tmp
atf.7: atf.7.in
- sed -e 's,__DOCDIR__,/usr/share/doc/atf,g' \
+ ${TOOL_SED} -e 's,__DOCDIR__,/usr/share/doc/atf,g' \
<${SRCDIR}/doc/atf.7.in >atf.7.tmp
mv atf.7.tmp atf.7
diff --git a/share/doc/iso/wisc/Makefile b/share/doc/iso/wisc/Makefile
index 4500128605e..efce1bf4b4d 100644
--- a/share/doc/iso/wisc/Makefile
+++ b/share/doc/iso/wisc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2008/10/19 22:05:20 apb Exp $
+# $NetBSD: Makefile,v 1.6 2008/10/25 22:27:35 apb Exp $
#
# Makefile for the tp documents:
# design: TP design/source guide
@@ -61,16 +61,17 @@ appendix_c:
appendix_a:
ctags -x $(SRCS) \
| ${TOOL_AWK} '{printf("%s\t%s\t%s\n", $$1, $$3, $$2)}' \
- | sed -e 's-../../sys/netargo/--' > index_by_func.nr
+ | ${TOOL_SED} -e 's-../../sys/netargo/--' > index_by_func.nr
format -P$(PRINTER) appendix_a.nr
appendix_b:
ctags -x $(SRCS) \
| ${TOOL_AWK} '{printf("%s\t%s\t%s\n", $$3, $$1, $$2)}' \
- | sed -e 's-../../sys/netargo/--' \
+ | ${TOOL_SED} -e 's-../../sys/netargo/--' \
| sort \
| fmtxref -w 80 \
- | sed -e 's/ / /' \
- -e 's/ / /' \
+ | ${TOOL_SED} \
+ -e 's/ / /' \
+ -e 's/ / /' \
> index_by_file.nr
format -P$(PRINTER) appendix_b.nr