- use SCRIPTS* for scripts instead of FILES*.

- add pcap-config to CLEANFILES.
This commit is contained in:
mrg 2010-12-05 09:09:39 +00:00
parent 94f36216e9
commit a5ae13c90e

View File

@ -1,12 +1,12 @@
# $NetBSD: Makefile,v 1.1 2010/12/05 03:00:44 christos Exp $
# $NetBSD: Makefile,v 1.2 2010/12/05 09:09:39 mrg Exp $
.include <bsd.own.mk>
.PATH: ${.CURDIR}/../dist
FILESDIR=/usr/bin
FILESMODE=555
FILES=pcap-config
SCRIPTSDIR=/usr/bin
SCRIPTS=pcap-config
MAN=pcap-config.1
pcap-config: pcap-config.in
@ -15,7 +15,9 @@ pcap-config: pcap-config.in
-e 's,@includedir@,/usr/include,g' \
-e 's,@LIBS@,,g' < ${.ALLSRC} > ${.TARGET}
chmod a+x ${.TARGET}
.include <bsd.files.mk>
.include <bsd.man.mk>
CLEANFILES+= pcap-config
NOPROG=
.include <bsd.prog.mk>