Get the version source from the (more) correct place.
Remove the obsolete cvsbug.sh script
This commit is contained in:
parent
8547e8b554
commit
8653f7fd3c
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user