Use -f in cp, so that a previous file in the OBJDIR that's read-only

won't cause a failure.
This commit is contained in:
gdt 2008-05-01 20:56:39 +00:00
parent d9b775927c
commit 36bcd10549
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2008/05/01 15:35:15 jmmv Exp $
# $NetBSD: Makefile,v 1.3 2008/05/01 20:56:39 gdt Exp $
.include <bsd.own.mk>
@ -19,6 +19,6 @@ WARNS?= 2
CLEANFILES= revision.h
atf-version.cpp: revision.h
revision.h: revision-dist.h
cp ${SRCDIR}/admin/revision-dist.h revision.h
cp -f ${SRCDIR}/admin/revision-dist.h revision.h
.include <bsd.prog.mk>