blob: a753c21e34f049f9a46b09905699ffe3d2e4ee29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
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/config-management@1
sbin_SCRIPTS = scripts/vyatta-commit-push.pl
sbin_SCRIPTS += scripts/vyatta-commit-revs.pl
sbin_SCRIPTS += scripts/vyatta-config-mgmt.pl
bin_sudo_users_SCRIPTS =
share_perl5_DATA = lib/Vyatta/ConfigMgmt.pm
cpiop = find . ! -regex '\(.*~\|.*\.bak\|.*\.swp\|.*\#.*\#\)' -print0 | \
cpio -0pd
install-exec-hook:
mkdir -p $(DESTDIR)$(cfgdir)
cd templates-cfg; $(cpiop) $(DESTDIR)$(cfgdir)
mkdir -p $(DESTDIR)$(opdir)
cd templates-op; $(cpiop) $(DESTDIR)$(opdir)
|