diff options
author | ru <ru@FreeBSD.org> | 2001-03-28 15:07:48 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-03-28 15:07:48 +0000 |
commit | d4e02f339656da28eb2b5eaae2dc345122247f4e (patch) | |
tree | d75faf8cd53d027670f19321c5634265202fd356 | |
parent | 074862548dab5ab8a76c795032f59f5b0b9b0666 (diff) | |
download | FreeBSD-src-d4e02f339656da28eb2b5eaae2dc345122247f4e.zip FreeBSD-src-d4e02f339656da28eb2b5eaae2dc345122247f4e.tar.gz |
Define MAN to ${PROG}.1 if no manpages were specified, but still
provide MAN1 for backwards compatibility. Third party software
may still have dependancy lines of this form:
${MAN1}: foo.man
-rw-r--r-- | share/mk/bsd.prog.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk index 596904a..ffdfd5e 100644 --- a/share/mk/bsd.prog.mk +++ b/share/mk/bsd.prog.mk @@ -61,7 +61,8 @@ ${PROG}: ${OBJS} !defined(MAN4) && !defined(MAN5) && !defined(MAN6) && \ !defined(MAN7) && !defined(MAN8) && !defined(MAN9) && \ !defined(MAN1aout) -MAN1= ${PROG}.1 +MAN= ${PROG}.1 +MAN1= ${MAN} .endif .endif |