cfgdir = $(datadir)/vyatta-cfg/templates share_perl5dir = $(datarootdir)/perl5 libudevdir = /lib/udev etcudevdir = /etc/udev initddir = /etc/init.d bin_SCRIPTS = sbin_SCRIPTS = sysconf_DATA = sbin_SCRIPTS += scripts/vpn-config.pl share_perl5_DATA = scripts/VyattaVPNUtil.pm cpiop = find . ! -regex '\(.*~\|.*\.bak\|.*\.swp\|.*\#.*\#\)' -print0 | \ cpio -0pd install-exec-hook: mkdir -p $(DESTDIR)$(cfgdir) cd templates; $(cpiop) $(DESTDIR)$(cfgdir)