aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cvs
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-12-18 15:22:12 +0000
committerBruce Evans <bde@FreeBSD.org>1997-12-18 15:22:12 +0000
commitc26f14e2b9bdaa2f26e31d427fd3cee14a2afcc3 (patch)
tree96bf8c3859167fe3b66b446b517dce258a5a5758 /gnu/usr.bin/cvs
parentc6d8090e2c734aad3293228ef34850537f93e2ea (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/cvs')
-rw-r--r--gnu/usr.bin/cvs/cvsbug/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/usr.bin/cvs/cvsbug/Makefile b/gnu/usr.bin/cvs/cvsbug/Makefile
index 4e9dbfa7916aa..b7714ace3b0fd 100644
--- a/gnu/usr.bin/cvs/cvsbug/Makefile
+++ b/gnu/usr.bin/cvs/cvsbug/Makefile
@@ -1,4 +1,4 @@
-# $Id$
+# $Id: Makefile,v 1.7 1997/02/22 15:45:15 peter Exp $
.include "${.CURDIR}/../Makefile.inc"
@@ -11,15 +11,16 @@ CLEANFILES+= cvsbug ver
.SUFFIXES: .sh
-all: cvsbug
+all: cvsbug
-.sh:
- echo > ver cvs-`sed < ${CVSDIR}/src/version.c \
+ver: version.c
+ echo > ${.TARGET} cvs-`sed < ${.ALLSRC} \
-e '/version_string/!d' \
-e 's/[^0-9.]*\([0-9.]*\).*/\1/' \
-e q`
- sed -e "s,xVERSIONx,`cat ver`,g" $> > $@
+.sh: ver
+ sed -e "s,xVERSIONx,`cat ver`,g" ${.IMPSRC} > ${.TARGET}
beforeinstall:
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \