summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2008-03-19 15:18:03 +0000
committerobrien <obrien@FreeBSD.org>2008-03-19 15:18:03 +0000
commit3a661101376a707b201ec4c9fafcd13193766278 (patch)
treebeb4c0cc6b19f937598822aaffc903899f1f1217 /gnu
parent3f0e456a87db6194c1c0425f30bf284d93b3a6ab (diff)
downloadFreeBSD-src-3a661101376a707b201ec4c9fafcd13193766278.zip
FreeBSD-src-3a661101376a707b201ec4c9fafcd13193766278.tar.gz
+ Make it clear this was taken from the CVS 1.11 branch on 10-March-2008.
+ Depend on $CVSDIR/configure also - so things get properly remade if we tweak.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/cvs/lib/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/cvs/lib/Makefile b/gnu/usr.bin/cvs/lib/Makefile
index 3a04eef..54a727d 100644
--- a/gnu/usr.bin/cvs/lib/Makefile
+++ b/gnu/usr.bin/cvs/lib/Makefile
@@ -25,13 +25,13 @@ SRCS= config.h argmatch.c getdate.y getline.c \
sighandle.c stripslash.c \
xgetwd.c yesno.c
-config.h: config.h.proto
+config.h: config.h.proto ${CVSDIR}/configure
version=`sed < ${CVSDIR}/configure \
-e '/^[ ]*VERSION=/!d' -e 's/.*=["'\'']\{0,1\}\([^"'\'']*\)["'\'']\{0,1\}/\1/' -e q`; \
- sed -e "s,@VERSION@,$${version}-FreeBSD,g" \
+ sed -e "s,@VERSION@,$${version}-20080310-FreeBSD,g" \
-e "s,@UMASK_DFLT@,${CVS_UMASK_DFLT},g" \
-e "s,@TMPDIR_DFLT@,${CVS_TMPDIR_DFLT},g" \
-e "s,@CVS_ADMIN_GROUP@,${CVS_ADMIN_GROUP},g" \
- ${.ALLSRC} > ${.TARGET}
+ ${.ALLSRC:M*config.h.proto} > ${.TARGET}
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud