From e475a086f6b53d8bb57117d1ef1ea00d72fa9dba Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 30 Mar 2009 08:28:35 -0700 Subject: Generate QoS interface templates Similar process to firewall and quagga parameters --- Makefile.am | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index bdd9e11..21b5a63 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,5 @@ cfgdir = $(datadir)/vyatta-cfg/templates +gentmpdir = generated-templates share_perl5dir = /opt/vyatta/share/perl5/Vyatta/Qos sbin_SCRIPTS = scripts/vyatta-qos.pl @@ -20,8 +21,16 @@ etc_SCRIPTS = 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) mkdir -p $(DESTDIR)/etc/ppp/ip-up.d cd templates; $(cpiop) $(DESTDIR)$(cfgdir) + cd $(gentmpdir); $(cpiop) $(DESTDIR)$(cfgdir) -- cgit v1.2.3