summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 0d3b498814d08cd689feca9f9442e79034e468ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
cfgdir		 = $(datadir)/vyatta-cfg/templates
share_perl5dir	 = $(datarootdir)/perl5
libudevdir	 = /lib/udev
etcudevdir	 = /etc/udev
initddir	 = /etc/init.d

sbin_SCRIPTS =

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)