2000-01-24 01:19:27 +03:00
|
|
|
# $NetBSD: Makefile,v 1.25 2000/01/23 22:21:26 mycroft Exp $
|
1999-02-13 05:54:17 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
1995-04-23 11:58:27 +04:00
|
|
|
|
1993-11-19 22:22:26 +03:00
|
|
|
#
|
|
|
|
# Makefile for building a standalone send-pr.
|
|
|
|
#
|
|
|
|
|
1994-01-25 02:55:37 +03:00
|
|
|
srcdir= ${.CURDIR}
|
|
|
|
bindir= /usr/bin
|
|
|
|
datadir= /usr/share
|
1993-11-19 22:22:26 +03:00
|
|
|
|
1994-01-25 02:55:37 +03:00
|
|
|
#
|
|
|
|
# Begin CONFIGURATION SECTION
|
|
|
|
#
|
1995-08-31 22:48:23 +04:00
|
|
|
VERSION=3.95
|
1994-01-25 02:55:37 +03:00
|
|
|
|
|
|
|
# Where the GNATS database and master configuration stuff lives.
|
|
|
|
GNATS_ROOT =
|
|
|
|
|
|
|
|
# Email address to which people should submit bugs.
|
1995-06-19 09:34:47 +04:00
|
|
|
GNATS_ADDR = gnats-bugs@gnats.netbsd.org
|
1994-01-25 02:55:37 +03:00
|
|
|
|
|
|
|
# The default release for this send-pr.
|
1996-10-09 05:03:08 +04:00
|
|
|
DEFAULT_RELEASE = <NetBSD-current source date>
|
1994-01-25 02:55:37 +03:00
|
|
|
|
|
|
|
# The default organization for this send-pr.
|
|
|
|
DEFAULT_ORGANIZATION =
|
|
|
|
|
|
|
|
# The default GNATS site for send-pr.
|
1994-10-17 20:22:26 +03:00
|
|
|
GNATS_SITE = netbsd
|
1994-01-25 02:55:37 +03:00
|
|
|
|
|
|
|
# The submitter-id for your site.
|
|
|
|
SUBMITTER = net
|
1993-11-19 22:22:26 +03:00
|
|
|
|
1994-01-25 02:55:37 +03:00
|
|
|
# Command line to use for mailer
|
|
|
|
MAIL_AGENT = /usr/sbin/sendmail -oi -t
|
|
|
|
|
|
|
|
# Command line to display the passwd database
|
1994-01-25 22:34:01 +03:00
|
|
|
PASSWD = cat /etc/passwd
|
1994-01-25 02:55:37 +03:00
|
|
|
|
|
|
|
# Echo(1) style
|
|
|
|
ECHON = bsd
|
|
|
|
|
|
|
|
#
|
|
|
|
# END OF CONFIGURATION SECTION
|
|
|
|
#
|
|
|
|
|
|
|
|
BINDIR= ${bindir}
|
|
|
|
LIBDIR= ${datadir}
|
1994-12-22 12:31:26 +03:00
|
|
|
MAN= send-pr.1
|
1993-11-19 22:22:26 +03:00
|
|
|
|
1994-01-25 02:55:37 +03:00
|
|
|
CLEANFILES= send-pr send-pr.1 send-pr.el install-sid
|
1993-11-19 22:22:26 +03:00
|
|
|
|
2000-01-24 01:19:27 +03:00
|
|
|
realall: send-pr send-pr.1 send-pr.el install-sid
|
1993-11-19 22:22:26 +03:00
|
|
|
|
1994-01-25 02:55:37 +03:00
|
|
|
send-pr: send-pr.sh Makefile
|
|
|
|
sed -e 's,xVERSIONx,$(VERSION),' \
|
|
|
|
-e 's,xGNATS_ROOTx,$(GNATS_ROOT),' \
|
|
|
|
-e 's,xGNATS_ADDRx,$(GNATS_ADDR),' \
|
|
|
|
-e 's,xGNATS_SITEx,$(GNATS_SITE),' \
|
|
|
|
-e 's,xSUBMITTERx,$(SUBMITTER),' \
|
|
|
|
-e 's,xECHONx,$(ECHON),' \
|
|
|
|
-e 's,xMAIL_AGENTx,$(MAIL_AGENT),' \
|
|
|
|
-e 's,xPASSWDx,$(PASSWD),' \
|
|
|
|
-e 's%xDEFAULT_ORGANIZATIONx%$(DEFAULT_ORGANIZATION)%' \
|
|
|
|
-e 's,xDEFAULT_RELEASEx,$(DEFAULT_RELEASE),' \
|
|
|
|
-e 's,xDATADIRx,$(datadir),' $(srcdir)/send-pr.sh > $@-t
|
1994-12-06 10:05:35 +03:00
|
|
|
mv -f $@-t $@
|
1994-01-25 02:55:37 +03:00
|
|
|
chmod 755 $@
|
1993-11-19 22:22:26 +03:00
|
|
|
|
1994-01-25 02:55:37 +03:00
|
|
|
install-sid: install-sid.sh Makefile
|
|
|
|
sed -e 's,xBINDIRx,$(bindir),g' \
|
|
|
|
-e 's,xVERSIONx,$(VERSION),g' $(srcdir)/install-sid.sh > $@-t
|
1994-12-06 10:05:35 +03:00
|
|
|
mv -f $@-t $@
|
|
|
|
chmod 755 $@
|
1993-11-19 22:22:26 +03:00
|
|
|
|
1994-01-25 02:55:37 +03:00
|
|
|
send-pr.el: send-pr-el.in Makefile
|
|
|
|
sed -e 's,xVERSIONx,$(VERSION),' \
|
|
|
|
-e 's,xGNATS_ROOTx,$(GNATS_ROOT),' \
|
|
|
|
-e 's,xGNATS_SITEx,$(GNATS_SITE),' \
|
|
|
|
-e 's,xDATADIRx,$(datadir),' \
|
1995-09-12 23:01:51 +04:00
|
|
|
-e 's,xSUBMITTERx,$(SUBMITTER),' \
|
1994-01-25 02:55:37 +03:00
|
|
|
-e 's,xDEFAULT_RELEASEx,$(DEFAULT_RELEASE),' \
|
|
|
|
$(srcdir)/send-pr-el.in \
|
|
|
|
> $@-t
|
1994-12-06 10:05:35 +03:00
|
|
|
mv -f $@-t $@
|
1994-01-25 02:55:37 +03:00
|
|
|
|
|
|
|
send-pr.1: send-pr.man Makefile
|
|
|
|
sed -e 's,xGNATS_ROOTx,$(GNATS_ROOT),g' \
|
|
|
|
-e 's,xVERSIONx,$(VERSION),g' $(srcdir)/send-pr.man > $@-t
|
1994-12-06 10:05:35 +03:00
|
|
|
mv -f $@-t $@
|
1993-11-19 22:22:26 +03:00
|
|
|
|
1998-09-27 21:22:03 +04:00
|
|
|
FILES=send-pr install-sid
|
1997-03-25 01:02:40 +03:00
|
|
|
FILESMODE_send-pr=${BINMODE}
|
|
|
|
FILESMODE_install-sid=${BINMODE}
|
1999-02-13 05:54:17 +03:00
|
|
|
.if ${MKSHARE} != "no"
|
1999-03-26 16:12:43 +03:00
|
|
|
FILES+=categories send-pr.el
|
|
|
|
FILESDIR_send-pr.el=${LIBDIR}/gnats
|
1998-09-27 21:22:03 +04:00
|
|
|
FILESDIR_categories=${LIBDIR}/gnats
|
|
|
|
FILESNAME_categories=${GNATS_SITE}
|
|
|
|
.endif
|
1993-11-19 22:22:26 +03:00
|
|
|
|
1999-02-12 15:56:27 +03:00
|
|
|
TEXINFO= send-pr.texi
|
|
|
|
INFOFLAGS= -I${.CURDIR}
|
|
|
|
|
|
|
|
.include <bsd.info.mk>
|
1993-11-19 22:22:26 +03:00
|
|
|
.include <bsd.prog.mk>
|