cfgdir = $(datadir)/vyatta-cfg/templates share_perl5dir = /opt/vyatta/share/perl5/Vyatta/Qos sbin_SCRIPTS = scripts/vyatta-qos.pl sbin_SCRIPTS += scripts/vyatta-qos-util.pl share_perl5_DATA = lib/Vyatta/Qos/Util.pm share_perl5_DATA += lib/Vyatta/Qos/FairQueue.pm share_perl5_DATA += lib/Vyatta/Qos/TrafficShaper.pm share_perl5_DATA += lib/Vyatta/Qos/Match.pm share_perl5_DATA += lib/Vyatta/Qos/RateLimiter.pm share_perl5_DATA += lib/Vyatta/Qos/DropTail.pm share_perl5_DATA += lib/Vyatta/Qos/TrafficLimiter.pm cpiop = find . ! -regex '\(.*~\|.*\.bak\|.*\.swp\|.*\#.*\#\)' -print0 | \ cpio -0pd install-exec-hook: mkdir -p $(DESTDIR)$(cfgdir) cd templates; $(cpiop) $(DESTDIR)$(cfgdir)