summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: f6966c4ad412748d62aa3270856ff0af9a3d6378 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
cfgdir = $(datadir)/vyatta-cfg/templates

sbin_SCRIPTS = scripts/bgp/vyatta-bgp.pl
sbin_SCRIPTS += scripts/policy/vyatta-policy.pl
sbin_SCRIPTS += scripts/vyatta_quagga_utils.pl

cpiop = find  . ! -regex '\(.*~\|.*\.bak\|.*\.swp\|.*\#.*\#\)' -print0 | \
	cpio -0pd

install-exec-hook:
	mkdir -p $(DESTDIR)$(cfgdir)
	cd templates; $(cpiop) $(DESTDIR)$(cfgdir)