forked from Puttaz/vyatta-cron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
26 lines (19 loc) · 806 Bytes
/
Makefile.am
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
cfgdir = $(datadir)/vyatta-cfg/templates
opdir = $(datadir)/vyatta-op/templates
curverdir = $(sysconfdir)/config-migrate/current
bin_sudo_usersdir = $(bindir)/sudo-users
vprefix = /opt/vyatta
vsbindir = $(vprefix)/sbin
sbin_SCRIPTS = scripts/vyatta-update-crontab.pl
bin_sudo_users_SCRIPTS = scripts/vyatta-restart-crond.sh
checkparamsonrebootdir = $(bindir)/sudo-users/check-params-on-reboot.d
checkparamsonreboot_SCRIPTS =
checkparamsonreboot_SCRIPTS += scripts/check-params-on-reboot.d/reset-vyatta-cron
curver_DATA = cfg-version/cron@1
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)