summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorKim Hagen <khagen@multi-development.com>2014-07-01 14:38:37 +0200
committerKim Hagen <khagen@multi-development.com>2014-07-01 14:38:37 +0200
commitd3c2fb0ebeb2a945ac76d724ff532f5b9cb01bf5 (patch)
tree510792616790c9d9577e7dfa371e5b38dd659497 /Makefile.am
parent66da1d0ad38e345176f0ec28ec59961e84dd61fa (diff)
downloadvyatta-cfg-system-d3c2fb0ebeb2a945ac76d724ff532f5b9cb01bf5.tar.gz
vyatta-cfg-system-d3c2fb0ebeb2a945ac76d724ff532f5b9cb01bf5.zip
Bug #21 - Add the ability to adjust system ARP settings via the CLI on a per interface basis
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 21e73e01..35117ebc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,6 +2,7 @@ cfgdir = $(datadir)/vyatta-cfg/templates
share_perl5dir = $(datarootdir)/perl5/Vyatta/Login
bin_sudo_usersdir = $(bindir)/sudo-users
curverdir = $(sysconfdir)/config-migrate/current
+gentmpdir = generated-templates
checkparamsonrebootdir = $(bindir)/sudo-users/check-params-on-reboot.d
initddir = /etc/init.d
netplugupdir = /etc/netplug/linkup.d
@@ -121,6 +122,14 @@ curver_DATA += cfg-version/system@6
cpiop = find . ! -regex '\(.*~\|.*\.bak\|.*\.swp\|.*\#.*\#\)' -print0 | \
cpio -0pd
+all-local:
+ rm -rf $(gentmpdir)
+ ./gen-interface-templates.pl $(gentmpdir)
+
+clean-local:
+ rm -rf $(gentmpdir)
+
install-exec-hook:
mkdir -p $(DESTDIR)$(cfgdir)
cd templates; $(cpiop) $(DESTDIR)$(cfgdir)
+ cd $(gentmpdir); $(cpiop) $(DESTDIR)$(cfgdir)