Added some missing ${.CURDIR} and removed some that shouldn't have

been there. It should build and install fine with and without an
obj dir now.
This commit is contained in:
Paul Richards
1994-09-09 19:50:44 +00:00
parent 4516078c93
commit 5f8b2ae494
+6 -6
View File
@@ -9,19 +9,19 @@ DATADIR=/etc
SUBMITTERS=current-users
RELEASE=`uname -rsm`
all: send-pr.sh send-pr-el.in install-sid.sh
all: ${.CURDIR}/send-pr.sh ${.CURDIR}/send-pr-el.in ${.CURDIR}/install-sid.sh
sed -e 's,@DATADIR@,$(DATADIR),g' \
-e 's/@DEFAULT_RELEASE@/$(RELEASE)/g' send-pr.sh > send-pr
-e 's/@DEFAULT_RELEASE@/$(RELEASE)/g' ${.CURDIR}/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
-e 's/@DEFAULT_RELEASE@/$(RELEASE)/g' ${.CURDIR}/send-pr-el.in > send-pr.el
sed -e 's,@BINDIR@,$(BINDIR),g' ${.CURDIR}/install-sid.sh > install-sid
beforeinstall:
install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${.CURDIR}/send-pr ${DESTDIR}/usr/bin/send-pr
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}
sh install-sid ${SUBMITTERS}
clean:
rm -f send-pr send-pr.el install-sid