Changes to make `maninstall' work.
authorJordan K. Hubbard <jkh@FreeBSD.org>
Fri, 23 Jul 1993 02:58:20 +0000 (02:58 +0000)
committerJordan K. Hubbard <jkh@FreeBSD.org>
Fri, 23 Jul 1993 02:58:20 +0000 (02:58 +0000)
gnu/usr.bin/man/apropos/Makefile
gnu/usr.bin/man/whatis/Makefile

index 8073f99..7ccdf81 100644 (file)
@@ -28,8 +28,10 @@ ${MANP}: ${.CURDIR}/apropos.man
            -e 's,%manpath_config_file%,${manpath_config_file},' \
        ${.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
        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"
        install -c -o bin -g bin -m 444 ${MANP} /usr/share/man/man1
 
 .include "../Makefile.inc"
index ebafe03..fe7f389 100644 (file)
@@ -28,8 +28,10 @@ ${MANP}: ${.CURDIR}/whatis.man
            -e 's,%manpath_config_file%,${manpath_config_file},' \
        ${.CURDIR}/whatis.man > ${MANP}
 
            -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
        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"
        install -c -o bin -g bin -m 444 ${MANP} /usr/share/man/man1
 
 .include "../Makefile.inc"