diff options
author | paul <paul@FreeBSD.org> | 1994-08-29 04:02:54 +0000 |
---|---|---|
committer | paul <paul@FreeBSD.org> | 1994-08-29 04:02:54 +0000 |
commit | 35b3792d9b70a151726002f967ee492dd3df1f03 (patch) | |
tree | aa4612cf100ba70c79f862b5c7e93e7e965d917c /gnu/usr.bin/send-pr/Makefile | |
parent | 0cbac02301f6d25c2151a7c6b1797f69d19bd9c7 (diff) | |
download | FreeBSD-src-35b3792d9b70a151726002f967ee492dd3df1f03.zip FreeBSD-src-35b3792d9b70a151726002f967ee492dd3df1f03.tar.gz |
Added send-pr for sending in bug reports.
Reviewed by:
Submitted by:
Diffstat (limited to 'gnu/usr.bin/send-pr/Makefile')
-rw-r--r-- | gnu/usr.bin/send-pr/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/usr.bin/send-pr/Makefile b/gnu/usr.bin/send-pr/Makefile new file mode 100644 index 0000000..76ecf50 --- /dev/null +++ b/gnu/usr.bin/send-pr/Makefile @@ -0,0 +1,29 @@ +# +# Makefile for building a standalone send-pr. +# + +BINDIR= /usr/bin +NOOBJ=noobj +MAN1= send-pr.1 +DATADIR=/etc +SUBMITTERS=current-users +RELEASE=`uname -rsm` + +all: send-pr.sh send-pr-el.in install-sid.sh + sed -e 's,@DATADIR@,$(DATADIR),g' \ + -e 's/@DEFAULT_RELEASE@/$(RELEASE)/g' send-pr.sh > send-pr + sed -e 's,@DATADIR@,$(DATADIR),g' \ + -e 's/@DEFAULT_RELEASE@/$(RELEASE)/g' send-pr-el.in > send-pr.el + sed -e 's,@BINDIR@,$(BINDIR),g' install-sid.sh > install-sid + +beforeinstall: + install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ + ${.CURDIR}/send-pr ${DESTDIR}/usr/bin/send-pr + install -c -o ${BINOWN} -g ${BINGRP} -m 0644 \ + ${.CURDIR}/categories ${DESTDIR}/etc/gnats/freefall + sh ${.CURDIR}/install-sid ${SUBMITTERS} + +clean: + rm -f send-pr send-pr.el install-sid + +.include <bsd.prog.mk> |