summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 7aabc67995b2c8e3b3a43c3073a4c03689565401 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
cfgdir            = $(datadir)/vyatta-cfg/templates
opdir		  = $(datadir)/vyatta-op/templates
share_perl5dir	  = $(datarootdir)/perl5/Vyatta
bin_sudo_usersdir = $(bindir)/sudo-users

curverdir = $(sysconfdir)/config-migrate/current
curver_DATA = cfg-version/zone-policy@1

bin_SCRIPTS = scripts/vyatta-show-zone.pl

sbin_SCRIPTS  = scripts/vyatta-zone.pl

share_perl5_DATA  = lib/Vyatta/Zone.pm

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

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