freebsd-dev/gnu/usr.bin/send-pr/Makefile

36 lines
867 B
Makefile
Raw Normal View History

2001-03-27 14:59:06 +00:00
# $FreeBSD$
#
# Makefile for building a standalone send-pr.
#
2001-04-07 11:21:35 +00:00
SCRIPTS= send-pr
2001-03-27 14:59:06 +00:00
MAN= send-pr.1
SUBMITTERS= current-users
RELEASE= `uname -rsm`
RELEASE_EV!= uname -rsm
CLEANFILES+= send-pr send-pr.el
1995-01-16 17:49:20 +00:00
SUBDIR+= doc
LINKS= ${BINDIR}/send-pr ${BINDIR}/sendbug
MLINKS= send-pr.1 sendbug.1
send-pr: send-pr.sh Makefile
sed -e 's,@DATADIR@,/etc,g' \
-e 's/@DEFAULT_RELEASE@/$(RELEASE)/g' \
1994-10-22 23:34:57 +00:00
-e 's/^SUBMITTER=.*/SUBMITTER=$(SUBMITTERS)/' \
${.ALLSRC:N*Makefile} > ${.TARGET}
send-pr.el: send-pr-el.in Makefile
sed -e 's,@DATADIR@,/etc,g' \
-e 's/@DEFAULT_RELEASE@/$(RELEASE_EV)/g' \
-e 's/"unknown"/"$(SUBMITTERS)"/g' \
${.ALLSRC:N*Makefile} > ${.TARGET}
# called from /usr/src/etc/Makefile
etc-gnats-freefall:
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 0644 \
${.CURDIR}/categories ${DESTDIR}/etc/gnats/freefall
.include <bsd.prog.mk>