(1) add send-pr.1 to CLEANFILES
(2) use ${COPY} where appropriate for install, so we don't blow away targets (or sources!) (3) use ${.CURDIR} to find categories.
This commit is contained in:
parent
4c35e0b3ba
commit
b824c41ce5
@ -12,7 +12,7 @@ LIBDIR= /usr/lib
|
|||||||
NOPROG=
|
NOPROG=
|
||||||
MAN1= send-pr.0
|
MAN1= send-pr.0
|
||||||
|
|
||||||
CLEANFILES= send-pr install-sid
|
CLEANFILES= send-pr install-sid send-pr.1
|
||||||
|
|
||||||
all: send-pr install-sid send-pr.1
|
all: send-pr install-sid send-pr.1
|
||||||
|
|
||||||
@ -30,13 +30,12 @@ install-sid: install-sid.sh
|
|||||||
${.CURDIR}/install-sid.sh > install-sid
|
${.CURDIR}/install-sid.sh > install-sid
|
||||||
|
|
||||||
beforeinstall:
|
beforeinstall:
|
||||||
install -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} send-pr \
|
install ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} send-pr \
|
||||||
${DESTDIR}${BINDIR}
|
${DESTDIR}${BINDIR}
|
||||||
install -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} install-sid \
|
install ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} install-sid \
|
||||||
${DESTDIR}${BINDIR}
|
${DESTDIR}${BINDIR}
|
||||||
|
|
||||||
install -d -o root -g wheel -m 755 ${DESTDIR}${LIBDIR}/gnats
|
install -d -o root -g wheel -m 755 ${DESTDIR}${LIBDIR}/gnats
|
||||||
install -o ${BINOWN} -g ${BINGRP} -m 444 categories \
|
install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/categories \
|
||||||
${DESTDIR}${LIBDIR}/gnats/${GNATS_HOST}
|
${DESTDIR}${LIBDIR}/gnats/${GNATS_HOST}
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user