- use SCRIPTS* for scripts instead of FILES*.
- add pcap-config to CLEANFILES.
This commit is contained in:
parent
94f36216e9
commit
a5ae13c90e
16
external/bsd/libpcap/bin/Makefile
vendored
16
external/bsd/libpcap/bin/Makefile
vendored
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user