diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 00000000..955226bc --- /dev/null +++ b/Makefile.am @@ -0,0 +1,11 @@ +cfgdir = $(datadir)/vyatta-cfg/templates + +sbin_SCRIPTS = scripts/bgp/vyatta-bgp.pl +sbin_SCRIPTS += scripts/policy/vyatta-policy.pl + +cpiop = find . ! -regex '\(.*~\|.*\.bak\|.*\.swp\|.*\#.*\#\)' -print0 | \ + cpio -0pd + +install-exec-hook: + mkdir -p $(DESTDIR)$(cfgdir) + cd templates; $(cpiop) $(DESTDIR)$(cfgdir) |