diff options
author | peter <peter@FreeBSD.org> | 2002-09-02 06:00:09 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-09-02 06:00:09 +0000 |
commit | 7cf015cd88603d378e231802a6945965b4938df3 (patch) | |
tree | 799808ff3236ceed93cc9313bf425a9f032757c1 /gnu | |
parent | 0e00fb0e5ed7371e0bc81fa51cb66cabce88570f (diff) | |
download | FreeBSD-src-7cf015cd88603d378e231802a6945965b4938df3.zip FreeBSD-src-7cf015cd88603d378e231802a6945965b4938df3.tar.gz |
version.h is now autogenerated in 1.11.2, not version.c
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/cvs/cvs/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gnu/usr.bin/cvs/cvs/Makefile b/gnu/usr.bin/cvs/cvs/Makefile index 8f09c8b..55e9ab9 100644 --- a/gnu/usr.bin/cvs/cvs/Makefile +++ b/gnu/usr.bin/cvs/cvs/Makefile @@ -12,7 +12,8 @@ MAINTAINER= peter@FreeBSD.org PROG= cvs MAN= cvs.1 cvs.5 -SRCS= add.c admin.c annotate.c buffer.c checkin.c checkout.c classify.c client.c \ +SRCS= version.h add.c admin.c annotate.c buffer.c \ + checkin.c checkout.c classify.c client.c \ commit.c create_adm.c cvsrc.c diff.c edit.c entries.c error.c \ expand_path.c fileattr.c filesubr.c find_names.c \ hardlink.c hash.c history.c \ @@ -24,7 +25,7 @@ SRCS= add.c admin.c annotate.c buffer.c checkin.c checkout.c classify.c client.c wrapper.c zlib.c CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../lib -DHAVE_CONFIG_H \ - -I${CVSDIR}/src -I${CVSDIR}/lib -I${CVSDIR}/diff + -I${CVSDIR}/src -I${CVSDIR}/lib -I${CVSDIR}/diff -I. DPADD+= ${LIBCVS} ${LIBDIFF} ${LIBGNUREGEX} ${LIBMD} ${LIBCRYPT} ${LIBZ} LDADD+= ${LIBCVS} ${LIBDIFF} -lgnuregex -lmd -lcrypt -lz @@ -40,11 +41,11 @@ DISTRIBUTION= krb4 CFLAGS+= -DENCRYPTION .endif -CLEANFILES+= version.c +CLEANFILES+= version.h VERSION!= sed < ${CVSDIR}/configure \ -e '/^VERSION=/!d' -e 's/.*=\(.*\)/\1/' -e q -version.c: version.c.in +version.h: version.h.in sed -e "s,@VERSION@,${VERSION}-FreeBSD,g" ${.ALLSRC} > ${.TARGET} # |