mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
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
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
|
@ -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 a new issue