summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: bbcca67d278db1946a35c0de5c1d5981a9c34c73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
cfgdir = $(datadir)/vyatta-cfg/templates
share_perl5dir = /opt/vyatta/share/perl5

bin_SCRIPTS =
sbin_SCRIPTS =
sysconf_DATA =
share_perl5_DATA =

sbin_SCRIPTS += scripts/vyatta-qos.pl
sbin_SCRIPTS += scripts/vyatta-qos-util.pl

share_perl5_DATA += scripts/VyattaQosUtil.pm
share_perl5_DATA += scripts/VyattaQosFairQueue.pm
share_perl5_DATA += scripts/VyattaQosTrafficShaper.pm
share_perl5_DATA += scripts/VyattaQosMatch.pm

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

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