summaryrefslogtreecommitdiffstats
path: root/hooks/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/Makefile')
-rw-r--r--hooks/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/hooks/Makefile b/hooks/Makefile
index 7698d5e4..3bcf083c 100644
--- a/hooks/Makefile
+++ b/hooks/Makefile
@@ -66,14 +66,10 @@ import: ${SCRIPTS} ${FILES}
${INSTALL} -m ${NONBINMODE} ${SCRIPTS} /tmp/${DISTPREFIX}/dhcpcd-hooks
${INSTALL} -m ${NONBINMODE} ${FILES} /tmp/${DISTPREFIX}/dhcpcd-hooks
-_import-src:
+_import-src: all
${INSTALL} -d ${DESTDIR}/hooks
- cp dhcpcd-run-hooks.in dhcpcd-run-hooks.8.in [0-9]* ${DESTDIR}/hooks
- rm ${DESTDIR}/hooks/50-dhcpcd-compat
- if [ `uname` = Linux ]; then \
- rm ${DESTDIR}/hooks/50-ypbind.in; \
- else \
- rm ${DESTDIR}/hooks/50-yp.conf; \
- fi
+ ${INSTALL} -m ${NONBINMODE} ${PROG} ${MAN8} ${DESTDIR}/hooks
+ ${INSTALL} -m ${NONBINMODE} ${SCRIPTS} ${DESTDIR}/hooks
+ ${INSTALL} -m ${NONBINMODE} ${FILES} ${DESTDIR}/hooks
include ${TOP}/Makefile.inc