aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2008-03-19 15:18:03 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2008-03-19 15:18:03 +0000
commita060e0f4ed66f5c57d4963f894aad943d3136730 (patch)
treebeb4c0cc6b19f937598822aaffc903899f1f1217 /gnu
parent42bd166385e9b0cbbcffaa2953f324f2ed496a3f (diff)
downloadsrc-a060e0f4ed66f5c57d4963f894aad943d3136730.tar.gz
src-a060e0f4ed66f5c57d4963f894aad943d3136730.zip
+ 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.
Notes
Notes: svn path=/head/; revision=177406
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 3a04eef1fd79..54a727d27ac9 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>