Makefile revision 3302
1111823Sgshapiro# 290792Sgshapiro# Makefile for building a standalone send-pr. 390792Sgshapiro# 490792Sgshapiro 590792SgshapiroBINDIR= /usr/bin 690792SgshapiroMAN1= send-pr.1 790792SgshapiroDATADIR=/etc 8111823SgshapiroSUBMITTERS=current-users 990792SgshapiroRELEASE=`uname -rsm` 1090792Sgshapiro 1190792Sgshapiroall: ${.CURDIR}/send-pr.sh ${.CURDIR}/send-pr-el.in ${.CURDIR}/install-sid.sh 1290792Sgshapiro sed -e 's,@DATADIR@,$(DATADIR),g' \ 1390792Sgshapiro -e 's/@DEFAULT_RELEASE@/$(RELEASE)/g' ${.CURDIR}/send-pr.sh > send-pr 1490792Sgshapiro sed -e 's,@DATADIR@,$(DATADIR),g' \ 1590792Sgshapiro -e 's/@DEFAULT_RELEASE@/$(RELEASE)/g' ${.CURDIR}/send-pr-el.in > send-pr.el 1690792Sgshapiro sed -e 's,@BINDIR@,$(BINDIR),g' ${.CURDIR}/install-sid.sh > install-sid 1790792Sgshapiro 1890792Sgshapirobeforeinstall: 1990792Sgshapiro install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ 2090792Sgshapiro send-pr ${DESTDIR}/usr/bin/send-pr 2190792Sgshapiro install -c -o ${BINOWN} -g ${BINGRP} -m 0644 \ 2290792Sgshapiro ${.CURDIR}/categories ${DESTDIR}/etc/gnats/freefall 2390792Sgshapiro sh install-sid ${SUBMITTERS} 2490792Sgshapiro 2590792Sgshapiroclean: 2690792Sgshapiro rm -f send-pr send-pr.el install-sid 2790792Sgshapiro 2890792Sgshapiro.include <bsd.prog.mk> 2990792Sgshapiro