summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cvs/cvsbug/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/cvs/cvsbug/Makefile')
-rw-r--r--gnu/usr.bin/cvs/cvsbug/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/usr.bin/cvs/cvsbug/Makefile b/gnu/usr.bin/cvs/cvsbug/Makefile
new file mode 100644
index 0000000..2117dda
--- /dev/null
+++ b/gnu/usr.bin/cvs/cvsbug/Makefile
@@ -0,0 +1,25 @@
+# $Id: Makefile,v 1.2 1995/07/25 00:31:51 bde Exp $
+
+MAN8= cvsbug.8
+
+CLEANFILES+= cvsbug
+
+.SUFFIXES: .sh
+
+all: cvsbug
+
+.sh:
+ echo > ver cvs-`sed < ${.CURDIR}/../lib/version.c \
+ -e '/version_string/!d' \
+ -e 's/[^0-9.]*\([0-9.]*\).*/\1/' \
+ -e q`
+ sed -e "s,xVERSIONx,`cat ver`,g" ${.CURDIR}/$@.sh > $@
+
+
+afterinstall:
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+ cvsbug ${DESTDIR}${BINDIR}/cvsbug
+
+.include "../../Makefile.inc"
+.include <bsd.prog.mk>
+
OpenPOWER on IntegriCloud