Move MANSRC defining rule (fix for obj subdir) to top level
Makefile.cfg, needed not only in man subdir
This commit is contained in:
parent
dc4f07b048
commit
fe60b5cd8b
@ -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
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user