blob: 8a8c1ea8d89e4291ce99b8bf0d7eca0f0c26703e (
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
25
26
27
28
|
cfgdir = $(datadir)/vyatta-cfg/templates
opdir = $(datadir)/vyatta-op/templates
share_perl5dir = $(datadir)/perl5/Vyatta/Cluster
curverdir = $(sysconfdir)/config-migrate/current
etc_initdir = /etc/init.d/
etc_ha_resourcedir = /etc/ha.d/resource.d
lib_ocf_resourcedir = /usr/lib/ocf/resource.d/heartbeat
sbin_SCRIPTS = scripts/vyatta-update-cluster.pl
sbin_SCRIPTS += scripts/vyatta-show-cluster.pl
etc_init_SCRIPTS = etc/init.d/primary-secondary
share_perl5_DATA = lib/Vyatta/Cluster/Config.pm
curver_DATA = cfg-version/cluster@1
cpiop = find . ! -regex '\(.*~\|.*\.bak\|.*\.swp\|.*\#.*\#\)' -print0 | \
cpio -0pd
install-exec-hook:
mkdir -p $(DESTDIR)$(etc_ha_resourcedir)
cp scripts/etc-IPaddr2-vyatta $(DESTDIR)$(etc_ha_resourcedir)/IPaddr2-vyatta
mkdir -p $(DESTDIR)$(lib_ocf_resourcedir)
cp scripts/ocf-IPaddr2-vyatta $(DESTDIR)$(lib_ocf_resourcedir)/IPaddr2-vyatta
mkdir -p $(DESTDIR)$(cfgdir)
cd templates-cfg; $(cpiop) $(DESTDIR)$(cfgdir)
mkdir -p $(DESTDIR)$(opdir)
cd templates-op; $(cpiop) $(DESTDIR)$(opdir)
|