diff options
author | Peter Wemm <peter@FreeBSD.org> | 2001-08-10 10:22:43 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2001-08-10 10:22:43 +0000 |
commit | 8653f7fd3c052a8201d7dd386bfdb99ee1a09b82 (patch) | |
tree | a0ec3b022f84838ab641cf73094f0524f369d1ed /gnu/usr.bin/cvs | |
parent | 8547e8b5545900f55ca1311ddea562fac642deea (diff) | |
download | src-8653f7fd3c052a8201d7dd386bfdb99ee1a09b82.tar.gz src-8653f7fd3c052a8201d7dd386bfdb99ee1a09b82.zip |
Get the version source from the (more) correct place.
Remove the obsolete cvsbug.sh script
Notes
Notes:
svn path=/head/; revision=81420
Diffstat (limited to 'gnu/usr.bin/cvs')
-rw-r--r-- | gnu/usr.bin/cvs/cvsbug/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/gnu/usr.bin/cvs/cvsbug/Makefile b/gnu/usr.bin/cvs/cvsbug/Makefile index 89fafc52100e..97bf94023919 100644 --- a/gnu/usr.bin/cvs/cvsbug/Makefile +++ b/gnu/usr.bin/cvs/cvsbug/Makefile @@ -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> |