summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1993-07-23 02:58:20 +0000
committerjkh <jkh@FreeBSD.org>1993-07-23 02:58:20 +0000
commitc10aa24c8a1bfd625291696db0292c919cb8404f (patch)
treeb6b9dd8e4db5726991b80faf2cdf174bbf4270dc /gnu
parent7010a373c2c720263ed4ae6b23c678c074014b40 (diff)
downloadFreeBSD-src-c10aa24c8a1bfd625291696db0292c919cb8404f.zip
FreeBSD-src-c10aa24c8a1bfd625291696db0292c919cb8404f.tar.gz
Changes to make `maninstall' work.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/man/apropos/Makefile4
-rw-r--r--gnu/usr.bin/man/whatis/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/gnu/usr.bin/man/apropos/Makefile b/gnu/usr.bin/man/apropos/Makefile
index 8073f99..7ccdf81 100644
--- a/gnu/usr.bin/man/apropos/Makefile
+++ b/gnu/usr.bin/man/apropos/Makefile
@@ -28,8 +28,10 @@ ${MANP}: ${.CURDIR}/apropos.man
-e 's,%manpath_config_file%,${manpath_config_file},' \
${.CURDIR}/apropos.man > $@
-install: ${TARG} ${MANP}
+install: ${TARG} maninstall
install -c -o bin -g bin -m 555 ${TARG} /usr/bin
+
+maninstall: ${MANP}
install -c -o bin -g bin -m 444 ${MANP} /usr/share/man/man1
.include "../Makefile.inc"
diff --git a/gnu/usr.bin/man/whatis/Makefile b/gnu/usr.bin/man/whatis/Makefile
index ebafe035..fe7f389 100644
--- a/gnu/usr.bin/man/whatis/Makefile
+++ b/gnu/usr.bin/man/whatis/Makefile
@@ -28,8 +28,10 @@ ${MANP}: ${.CURDIR}/whatis.man
-e 's,%manpath_config_file%,${manpath_config_file},' \
${.CURDIR}/whatis.man > ${MANP}
-install: ${TARG} ${MANP}
+install: ${TARG} maninstall
install -c -o bin -g bin -m 555 ${TARG} /usr/bin
+
+maninstall: ${MANP}
install -c -o bin -g bin -m 444 ${MANP} /usr/share/man/man1
.include "../Makefile.inc"
OpenPOWER on IntegriCloud