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

Makefile.cfg, needed not only in man subdir
This commit is contained in:
Andrey A. Chernov 1995-01-17 00:42:27 +00:00
parent f94052d6fc
commit aab45466ff
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5671
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>