summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 81b5f97..19b7e48 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,3 +1,4 @@
+dhcphookdir = /etc/dhcp3/dhclient-exit-hooks.d
cfgdir = $(datadir)/vyatta-cfg/templates
bin_sudo_usersdir = $(bindir)/sudo-users
curverdir = $(sysconfdir)/config-migrate/current
@@ -15,6 +16,8 @@ sbin_SCRIPTS += scripts/vyatta-wanloadbalance.init
bin_sudo_users_SCRIPTS = scripts/vyatta-wlb-status
bin_sudo_users_SCRIPTS += scripts/vyatta-wlb-connection.pl
+dhcphook_SCRIPTS = scripts/dhcp/dhcp-wanlb
+
curver_DATA = cfg-version/wanloadbalance@1
src_wan_lb_SOURCES = src/main.cc
@@ -32,6 +35,7 @@ cpiop = find . ! -regex '\(.*~\|.*\.bak\|.*\.swp\|.*\#.*\#\)' -print0 | \
cpio -0pd
install-exec-hook:
+ mkdir -p $(DESTDIR)$(dhcphookdir)
mkdir -p $(DESTDIR)$(cfgdir)
cd templates; $(cpiop) $(DESTDIR)$(cfgdir)
find etc ! -regex '\(.*~\|.*\.bak\|.*\.swp\|.*\#.*\#\)' -print0 | cpio -0pd $(DESTDIR) \ No newline at end of file