1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00

Fix buildworld -DNO_CLEAN when using with Perforce, which marks files as

read-only by default, meaning files copied can't be overwritten next time.

Reviewed by:	imp
Approved by:	ken (mentor)
This commit is contained in:
Will Andrews 2010-08-12 20:46:49 +00:00
parent 5b2bae575b
commit 4be3feb212
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=211243
7 changed files with 10 additions and 10 deletions

View File

@ -8,7 +8,7 @@ MAN= rlhistory.3
SRCS= $(HISTSRC) xmalloc.c
rlhistory.3: doc/history.3
cp ${.ALLSRC} ${.TARGET}
cp -f ${.ALLSRC} ${.TARGET}
CLEANFILES+= rlhistory.3

View File

@ -13,7 +13,7 @@ CLEANFILES += readline.texi
readline.info: rlman.texi rluser.texi rltech.texi version.texi fdl.texi
readline.texi: rlman.texi
cp ${SRCDIR}/rlman.texi ${.TARGET}
cp -f ${SRCDIR}/rlman.texi ${.TARGET}
rluserman.info: rluserman.texi version.texi rluser.texi fdl.texi

View File

@ -24,7 +24,7 @@ Makefile:
@:
.sh:
cp ${.IMPSRC} ${.TARGET}
cp -f ${.IMPSRC} ${.TARGET}
.pl:
sed -e 's,xPERL_PATHx,$(PERLPATH),' ${.IMPSRC} > ${.TARGET}

View File

@ -20,11 +20,11 @@ GDBvn.texi: version.in
echo "@set GDBVN `sed q ${.ALLSRC}`" > ${.TARGET}
inc-hist.texinfo: hsuser.texi inc-hist.diff
cp ${.ALLSRC:M*.texi} ${.TARGET}
cp -f ${.ALLSRC:M*.texi} ${.TARGET}
patch < ${.ALLSRC:M*.diff}
rluser.texinfo: rluser.texi
cp ${.ALLSRC:M*.texi} ${.TARGET}
cp -f ${.ALLSRC:M*.texi} ${.TARGET}
CLEANFILES= gdb-cfg.texi GDBvn.texi inc-hist.texinfo inc-hist.texinfo.orig \
rluser.texinfo

View File

@ -30,6 +30,6 @@ bsdxml.h: expat.h
> ${.TARGET}
bsdxml_external.h: expat_external.h
cp ${.ALLSRC} ${.TARGET}
cp -f ${.ALLSRC} ${.TARGET}
.include <bsd.lib.mk>

View File

@ -355,13 +355,13 @@ buildinf.h: ${.CURDIR}/Makefile
echo "#endif" ) > ${.TARGET}
opensslconf.h: opensslconf-${MACHINE_ARCH}.h
cp ${.ALLSRC} ${.TARGET}
cp -f ${.ALLSRC} ${.TARGET}
evp.h: ${LCRYPTO_SRC}/crypto/evp/evp.h
.if ${MK_IDEA} == "no"
sed '/^#ifndef OPENSSL_NO_IDEA$$/,/^#endif$$/d' ${.ALLSRC} > ${.TARGET}
.else
cp ${.ALLSRC} ${.TARGET}
cp -f ${.ALLSRC} ${.TARGET}
.endif
# No FIPS support for now

View File

@ -167,7 +167,7 @@ YFLAGS ?= -d
${CTFCONVERT} ${CTFFLAGS} ${.TARGET})
.sh:
cp ${.IMPSRC} ${.TARGET}
cp -f ${.IMPSRC} ${.TARGET}
chmod a+x ${.TARGET}
# DOUBLE SUFFIX RULES
@ -225,7 +225,7 @@ YFLAGS ?= -d
# non-Posix rule set
.sh:
cp -p ${.IMPSRC} ${.TARGET}
cp -fp ${.IMPSRC} ${.TARGET}
chmod a+x ${.TARGET}
.c.ln: