diff options
| author | svn2git <svn2git@FreeBSD.org> | 1994-07-01 08:00:00 +0000 |
|---|---|---|
| committer | svn2git <svn2git@FreeBSD.org> | 1994-07-01 08:00:00 +0000 |
| commit | 5e0e9b99dc3fc0ecd49d929db0d57c784b66f481 (patch) | |
| tree | e779b5a6edddbb949b7990751b12d6f25304ba86 /gnu/usr.bin/man/apropos | |
| parent | a16f65c7d117419bd266c28a1901ef129a337569 (diff) | |
Release FreeBSD 1.1.5.1upstream/1.1.5.1_cvsrelease/1.1.5.1_cvsreleng/1
This commit was manufactured to restore the state of the 1.1.5.1-RELEASE image.
Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
Diffstat (limited to 'gnu/usr.bin/man/apropos')
| -rw-r--r-- | gnu/usr.bin/man/apropos/Makefile | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/gnu/usr.bin/man/apropos/Makefile b/gnu/usr.bin/man/apropos/Makefile index 6208d5e6ba5e..b2f855a0f12e 100644 --- a/gnu/usr.bin/man/apropos/Makefile +++ b/gnu/usr.bin/man/apropos/Makefile @@ -1,12 +1,16 @@ +# $Id: Makefile,v 1.7 1994/06/05 21:57:03 csgr Exp $ + .if exists(${.CURDIR}/obj) -MANP= ${.CURDIR}/obj/apropos.1 +MAN1= ${.CURDIR}/obj/apropos.1 TARG= ${.CURDIR}/obj/apropos .else -MANP= ${.CURDIR}/apropos.1 +MAN1= ${.CURDIR}/apropos.1 TARG= ${.CURDIR}/apropos .endif -all: ${TARG} ${MANP} +MANDEPEND= ${MAN1} + +all: ${TARG} ${MAN1} depend rcsfreeze tags all: @echo -n @@ -15,14 +19,14 @@ cleandir: clean cd ${.CURDIR}; rm -rf obj; clean: - @rm -f ${TARG} ${MANP} + @rm -f ${TARG} ${MAN1} ${TARG}: ${.CURDIR}/apropos.sh sed -e 's,%libdir%,${libdir},' -e 's,%bindir%,${bindir},' \ -e 's,%pager%,${pager},' \ ${.CURDIR}/apropos.sh > $@ -${MANP}: ${.CURDIR}/apropos.man +${MAN1}: ${.CURDIR}/apropos.man sed -e 's,%libdir%,${libdir},' -e 's,%bindir%,${bindir},' \ -e 's,%pager%,${pager},' -e 's,%troff%,${troff},' \ -e 's,%manpath_config_file%,${manpath_config_file},' \ @@ -31,7 +35,13 @@ ${MANP}: ${.CURDIR}/apropos.man install: ${TARG} maninstall install -c -o bin -g bin -m 555 ${TARG} ${DESTDIR}/usr/bin -maninstall: ${MANP} - install -c -o bin -g bin -m 444 ${MANP} ${DESTDIR}/usr/share/man/man1 .include "../Makefile.inc" + +.if make(maninstall) || make(install) +.if !defined(NOMAN) +.include <bsd.man.mk> +.elif !target(maninstall) +maninstall: +.endif +.endif |
