Redo the layout here by moving man stuff into a subdir. This is only needed here
due to andoc.tmac being generated here and it'll end up in the depend tree for installation (during dependall) if DESTDIR=/ and USETOOLS=no/never which will lose for most people. Fixes final part of PR#23067
This commit is contained in:
parent
5249b5a2a5
commit
503953b7b6
@ -1,7 +1,9 @@
|
||||
# $NetBSD: Makefile,v 1.20 2003/12/12 06:08:30 jmc Exp $
|
||||
# $NetBSD: Makefile,v 1.21 2004/06/24 04:38:29 jmc Exp $
|
||||
|
||||
# $FreeBSD: src/gnu/usr.bin/groff/tmac/Makefile,v 1.41 2003/05/01 13:22:21 ru Exp $
|
||||
|
||||
SUBDIR= man
|
||||
|
||||
TMACOWN?= ${BINOWN}
|
||||
TMACGRP?= ${BINGRP}
|
||||
TMACMODE?= ${NOBINMODE}
|
||||
@ -9,17 +11,7 @@ TMACMODE?= ${NOBINMODE}
|
||||
TMACDIR?= /usr/share/tmac
|
||||
MDOCDIR?= ${TMACDIR}/mdoc
|
||||
|
||||
# For ms.7
|
||||
USETBL=
|
||||
|
||||
MAN= groff_ms.7 groff_man.7 groff_me.7 groff_mdoc.7
|
||||
MAN+= groff_trace.7 groff_www.7
|
||||
MLINKS= groff_ms.7 ms.7
|
||||
MLINKS+= groff_man.7 man.7
|
||||
MLINKS+= groff_me.7 me.7
|
||||
MLINKS+= groff_mdoc.7 mdoc.7 groff_mdoc.7 mdoc.samples.7
|
||||
|
||||
CLEANFILES= ${MAN} ${MDOCFILES:S/$/-s/} ${STRIPFILES:S/$/-s/} ${SPECIALFILES:S/$/-s/}
|
||||
CLEANFILES= ${MDOCFILES:S/$/-s/} ${STRIPFILES:S/$/-s/} ${SPECIALFILES:S/$/-s/}
|
||||
|
||||
# XXX: hyphen.ru
|
||||
NORMALFILES= mandoc.tmac andoc.tmac an-old.tmac \
|
||||
@ -86,3 +78,4 @@ FILES+= ${NORMALFILES}
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.include <bsd.subdir.mk>
|
||||
|
22
gnu/usr.bin/groff/tmac/man/Makefile
Normal file
22
gnu/usr.bin/groff/tmac/man/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
# $NetBSD: Makefile,v 1.1 2004/06/24 04:38:29 jmc Exp $
|
||||
|
||||
DIST_SUBDIR=tmac
|
||||
|
||||
.include "${.CURDIR}/../../Makefile.inc"
|
||||
|
||||
# For ms.7
|
||||
USETBL=
|
||||
|
||||
MAN= groff_ms.7 groff_man.7 groff_me.7 groff_mdoc.7
|
||||
MAN+= groff_trace.7 groff_www.7
|
||||
MLINKS= groff_ms.7 ms.7
|
||||
MLINKS+= groff_man.7 man.7
|
||||
MLINKS+= groff_me.7 me.7
|
||||
MLINKS+= groff_mdoc.7 mdoc.7 groff_mdoc.7 mdoc.samples.7
|
||||
|
||||
cleandir: tmac_manclean
|
||||
|
||||
tmac_manclean:
|
||||
rm -f ${MAN}
|
||||
|
||||
.include <bsd.man.mk>
|
Loading…
Reference in New Issue
Block a user