Nuke `generated' sources from dist in beforedepend (shouldn't affect a
`correct' r/o source tree, as those files shouldn't exist; this is to make up for the fact that they weren't nuked before ld.new was activated....)
This commit is contained in:
parent
555cdd32e5
commit
14f0c3bc52
@ -1,4 +1,4 @@
|
|||||||
# $NetBSD: Makefile,v 1.4 1998/12/17 13:59:05 mrg Exp $
|
# $NetBSD: Makefile,v 1.5 1999/01/30 12:38:32 tv Exp $
|
||||||
|
|
||||||
# XXX set MACHINE_GNU_ARCH for _<arch>.mk
|
# XXX set MACHINE_GNU_ARCH for _<arch>.mk
|
||||||
.include <bsd.own.mk>
|
.include <bsd.own.mk>
|
||||||
@ -48,4 +48,9 @@ cleanprog: __cleanldscripts
|
|||||||
__cleanldscripts:
|
__cleanldscripts:
|
||||||
rm -rf ldscripts
|
rm -rf ldscripts
|
||||||
|
|
||||||
|
# Make sure no generated files exist in the src tree before depend or build.
|
||||||
|
# On a system where `.depend' is correct, this command does nothing.
|
||||||
|
beforedepend:
|
||||||
|
@rm -f ${DIST}/ld/ldgram.c ${DIST}/ld/ldgram.h ${DIST}/ld/ldlex.c
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user