head	1.1;
access;
symbols
	netbsd-11-0-RC4:1.1
	netbsd-11-0-RC3:1.1
	netbsd-11-0-RC2:1.1
	netbsd-11-0-RC1:1.1
	perseant-exfatfs-base-20250801:1.1
	netbsd-11:1.1.0.30
	netbsd-11-base:1.1
	netbsd-10-1-RELEASE:1.1
	perseant-exfatfs-base-20240630:1.1
	perseant-exfatfs:1.1.0.28
	perseant-exfatfs-base:1.1
	netbsd-8-3-RELEASE:1.1
	netbsd-9-4-RELEASE:1.1
	netbsd-10-0-RELEASE:1.1
	netbsd-10-0-RC6:1.1
	netbsd-10-0-RC5:1.1
	netbsd-10-0-RC4:1.1
	netbsd-10-0-RC3:1.1
	netbsd-10-0-RC2:1.1
	netbsd-10-0-RC1:1.1
	netbsd-10:1.1.0.26
	netbsd-10-base:1.1
	netbsd-9-3-RELEASE:1.1
	cjep_sun2x-base1:1.1
	cjep_sun2x:1.1.0.24
	cjep_sun2x-base:1.1
	cjep_staticlib_x-base1:1.1
	netbsd-9-2-RELEASE:1.1
	cjep_staticlib_x:1.1.0.22
	cjep_staticlib_x-base:1.1
	netbsd-9-1-RELEASE:1.1
	phil-wifi-20200421:1.1
	phil-wifi-20200411:1.1
	is-mlppp:1.1.0.20
	is-mlppp-base:1.1
	phil-wifi-20200406:1.1
	netbsd-8-2-RELEASE:1.1
	netbsd-9-0-RELEASE:1.1
	netbsd-9-0-RC2:1.1
	netbsd-9-0-RC1:1.1
	phil-wifi-20191119:1.1
	netbsd-9:1.1.0.18
	netbsd-9-base:1.1
	phil-wifi-20190609:1.1
	netbsd-8-1-RELEASE:1.1
	netbsd-8-1-RC1:1.1
	pgoyette-compat-merge-20190127:1.1
	pgoyette-compat-20190127:1.1
	pgoyette-compat-20190118:1.1
	pgoyette-compat-1226:1.1
	pgoyette-compat-1126:1.1
	pgoyette-compat-1020:1.1
	pgoyette-compat-0930:1.1
	pgoyette-compat-0906:1.1
	pgoyette-compat-0728:1.1
	netbsd-8-0-RELEASE:1.1
	phil-wifi:1.1.0.16
	phil-wifi-base:1.1
	pgoyette-compat-0625:1.1
	netbsd-8-0-RC2:1.1
	pgoyette-compat-0521:1.1
	pgoyette-compat-0502:1.1
	pgoyette-compat-0422:1.1
	netbsd-8-0-RC1:1.1
	pgoyette-compat-0415:1.1
	pgoyette-compat-0407:1.1
	pgoyette-compat-0330:1.1
	pgoyette-compat-0322:1.1
	pgoyette-compat-0315:1.1
	pgoyette-compat:1.1.0.14
	pgoyette-compat-base:1.1
	matt-nb8-mediatek:1.1.0.12
	matt-nb8-mediatek-base:1.1
	perseant-stdc-iso10646:1.1.0.10
	perseant-stdc-iso10646-base:1.1
	netbsd-8:1.1.0.8
	netbsd-8-base:1.1
	prg-localcount2-base3:1.1
	prg-localcount2-base2:1.1
	prg-localcount2-base1:1.1
	prg-localcount2:1.1.0.6
	prg-localcount2-base:1.1
	pgoyette-localcount-20170426:1.1
	bouyer-socketcan-base1:1.1
	pgoyette-localcount-20170320:1.1
	bouyer-socketcan:1.1.0.4
	bouyer-socketcan-base:1.1
	pgoyette-localcount-20170107:1.1
	pgoyette-localcount-20161104:1.1
	localcount-20160914:1.1
	pgoyette-localcount-20160806:1.1
	pgoyette-localcount-20160726:1.1
	pgoyette-localcount:1.1.0.2
	pgoyette-localcount-base:1.1;
locks; strict;
comment	@# @;


1.1
date	2016.01.14.21.13.20;	author christos;	state Exp;
branches;
next	;
commitid	p6MlfsHqkNy4AWQy;


desc
@@


1.1
log
@Apply our local changes bringing us up to 3.95 (for which there is no
release tar), and add build glue.
@
text
@#	$NetBSD: Makefile,v 1.31 2012/12/21 09:40:17 wiz Exp $

.include <bsd.own.mk>

#
# Makefile for building a standalone send-pr.
#

srcdir=		${.CURDIR}/../dist/send-pr
bindir=		/usr/bin
datadir=	/usr/share
.PATH: ${srcdir}

#
# Begin CONFIGURATION SECTION
#
VERSION=3.95

# Where the GNATS database and master configuration stuff lives.
GNATS_ROOT =

# Email address to which people should submit bugs.
GNATS_ADDR = gnats-bugs@@NetBSD.org

# The default release for this send-pr.
DEFAULT_RELEASE = `uname -s` `uname -r`

# The default organization for this send-pr.
DEFAULT_ORGANIZATION =

# The default GNATS site for send-pr.
GNATS_SITE = netbsd

# The submitter-id for your site.
SUBMITTER = net

# Command line to use for mailer
MAIL_AGENT = /usr/sbin/sendmail -oi -t

# Command line to display the passwd database
PASSWD = cat /etc/passwd

# Echo(1) style
ECHON = bsd

#
# END OF CONFIGURATION SECTION
#

BINDIR=		${bindir}
LIBDIR=		${datadir}
MAN=		send-pr.1

CLEANFILES=	send-pr send-pr.1 send-pr.el install-sid

realall:	send-pr send-pr.1 send-pr.el install-sid

send-pr:	send-pr.sh Makefile
	${_MKTARGET_CREATE}
	${TOOL_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
	mv -f $@@-t $@@
	chmod 755 $@@

install-sid:	install-sid.sh Makefile
	${_MKTARGET_CREATE}
	${TOOL_SED} -e 's,xBINDIRx,$(bindir),g' \
	    -e 's,xVERSIONx,$(VERSION),g' $(srcdir)/install-sid.sh > $@@-t
	mv -f $@@-t $@@
	chmod 755 $@@

send-pr.el:	send-pr-el.in Makefile
	${_MKTARGET_CREATE}
	${TOOL_SED} -e 's,xVERSIONx,$(VERSION),' \
            -e 's,xGNATS_ROOTx,$(GNATS_ROOT),' \
            -e 's,xGNATS_SITEx,$(GNATS_SITE),' \
            -e 's,xDATADIRx,$(datadir),' \
            -e 's,xSUBMITTERx,$(SUBMITTER),' \
            -e 's,xDEFAULT_RELEASEx,$(DEFAULT_RELEASE),' \
		$(srcdir)/send-pr-el.in \
            > $@@-t
	mv -f $@@-t $@@

send-pr.1:	send-pr.man Makefile
	${_MKTARGET_CREATE}
	${TOOL_SED} -e 's,xGNATS_ROOTx,$(GNATS_ROOT),g' \
	    -e 's,xVERSIONx,$(VERSION),g' $(srcdir)/send-pr.man > $@@-t
	mv -f $@@-t $@@

FILES=send-pr install-sid
FILESMODE_send-pr=${BINMODE}
FILESMODE_install-sid=${BINMODE}
.if ${MKSHARE} != "no"
FILES+=categories send-pr.el
FILESDIR_send-pr.el=${LIBDIR}/gnats
FILESDIR_categories=${LIBDIR}/gnats
FILESNAME_categories=${GNATS_SITE}
.endif

TEXINFO=	send-pr.texi
INFOFLAGS=	-I${.CURDIR}

.include <bsd.info.mk>
.include <bsd.prog.mk>
@
