From 3cd0ec7e5b6d131441a893af091ea73a6dcaad3e Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 10 Dec 1995 23:10:40 +0000 Subject: First round of the post-import cleanups... --- gnu/usr.bin/cvs/cvsbug/Makefile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 gnu/usr.bin/cvs/cvsbug/Makefile (limited to 'gnu/usr.bin/cvs/cvsbug') 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 + -- cgit v1.1