1 TOP?= ../ 2 include ${TOP}/Makefile.inc 3 include ${TOP}/config.mk 4 5 SCRIPTSDIR= ${LIBEXECDIR}/dhcpcd-hooks 6 SCRIPTS= 01-test 02-dump 7 SCRIPTS+= 10-mtu 20-resolv.conf 29-lookup-hostname 30-hostname 8 SCRIPTS+= ${HOOKSCRIPTS} 9 10 all: 11 12 install: 13 ${INSTALL} -d ${DESTDIR}${SCRIPTSDIR} 14 ${INSTALL} -m ${NONBINMODE} ${SCRIPTS} ${DESTDIR}${SCRIPTSDIR} 15 16 import: 17 ${INSTALL} -d /tmp/${DISTPREFIX}/dhcpcd-hooks 18 ${INSTALL} -m ${NONBINMODE} ${SCRIPTS} /tmp/${DISTPREFIX}/dhcpcd-hooks 19 20