1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-18 15:30:21 +00:00

version.h is now autogenerated in 1.11.2, not version.c

This commit is contained in:
Peter Wemm 2002-09-02 06:00:09 +00:00
parent 27322c93a5
commit b5aa73b52f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=102847

View File

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