diff options
| author | Roy Marples <roy@marples.name> | 2019-08-28 16:15:04 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2019-08-28 16:15:04 +0100 |
| commit | cf648d64b2b23ad91ad8cffa704a4a2d3687a091 (patch) | |
| tree | 304fd06eb813d6a4d1da58c0e8d3009c9abd6b5d /hooks | |
| parent | 61091306f58db5db2c4c3ae9fcf210563966604b (diff) | |
| download | dhcpcd-cf648d64b2b23ad91ad8cffa704a4a2d3687a091.tar.xz | |
DragonFly: make import-src now prepares the source for importing
I'm a lazy man and there's too many steps to import dhcpcd into
DragonFlyBSD, so hopefully this makes it a lot easier.
Diffstat (limited to 'hooks')
| -rw-r--r-- | hooks/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hooks/Makefile b/hooks/Makefile index b07f9eb7..152806e7 100644 --- a/hooks/Makefile +++ b/hooks/Makefile @@ -61,4 +61,11 @@ import: ${HOOKSCRIPTS} ${INSTALL} -m ${NONBINMODE} ${SCRIPTS} /tmp/${DISTPREFIX}/dhcpcd-hooks ${INSTALL} -m ${NONBINMODE} ${FILES} /tmp/${DISTPREFIX}/dhcpcd-hooks +import-src: + ${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 + include ${TOP}/Makefile.inc |
