Get the version source from the (more) correct place.

Remove the obsolete cvsbug.sh script
This commit is contained in:
Peter Wemm 2001-08-10 10:22:43 +00:00
parent 8547e8b554
commit 8653f7fd3c

View File

@ -6,21 +6,20 @@ MAINTAINER= peter@FreeBSD.org
.PATH: ${CVSDIR}/src
.PATH: ${CVSDIR}/man
.PATH: ${CVSDIR}
SCRIPTS= cvsbug
MAN= cvsbug.8
CLEANFILES+= cvsbug ver
.SUFFIXES: .sh
ver: version.c
echo > ${.TARGET} cvs-`sed < ${.ALLSRC} \
-e '/version_string/!d' \
-e 's/[^0-9.]*\([0-9.]*\).*/\1/' \
ver: configure
echo > ${.TARGET} `sed < ${.ALLSRC} \
-e '/^VERSION=/!d' \
-e 's/.*=\(.*\)/\1/' \
-e q`
.sh: ver
sed -e "s,xVERSIONx,`cat ver`,g" ${.IMPSRC} > ${.TARGET}
cvsbug: ver cvsbug.in
sed -e "s,@VERSION@,`cat ver`,g" ${CVSDIR}/src/cvsbug.in > ${.TARGET}
.include <bsd.prog.mk>