Use SCRIPTS to install dhclient-script instead of rolling our own.
This commit is contained in:
parent
8750adaf5a
commit
43c56a9bd9
@ -38,12 +38,9 @@ SRCS= dhclient.c clparse.c alloc.c dispatch.c hash.c bpf.c options.c \
|
||||
parse.c privsep.c
|
||||
|
||||
PROG= dhclient
|
||||
SCRIPTS=dhclient-script
|
||||
MAN= dhclient.8 dhclient.conf.5 dhclient.leases.5 dhclient-script.8
|
||||
|
||||
CFLAGS+=-Wall
|
||||
|
||||
beforeinstall:
|
||||
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
||||
${.CURDIR}/dhclient-script ${DESTDIR}/sbin/dhclient-script
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user