Move MANSRC defining rule (fix for obj subdir) to top level

Makefile.cfg, needed not only in man subdir
This commit is contained in:
ache 1995-01-17 00:42:27 +00:00
parent dc4f07b048
commit fe60b5cd8b
2 changed files with 5 additions and 4 deletions

View File

@ -122,3 +122,8 @@ CFLAGS+=$(DEFINES)
-e "s;@g@;$(g);g" \
-e "s;@G@;`echo $(g) | tr [a-z] [A-Z]`;g" \
$< >$@
.if exists(${.CURDIR}/obj)
MANSRC=${.CURDIR}/obj
.endif

View File

@ -6,9 +6,5 @@ MAN7= groff_char.7
MANDEPEND= ${MAN5} ${MAN7}
CLEANFILES+= ${MANDEPEND}
.if exists(${.CURDIR}/obj)
MANSRC=${.CURDIR}/obj
.endif
.include "../Makefile.cfg"
.include <bsd.prog.mk>