+ 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.
This commit is contained in:
David E. O'Brien 2008-03-19 15:18:03 +00:00
parent 42bd166385
commit a060e0f4ed
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=177406

View File

@ -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>