-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
39 lines (29 loc) · 1.17 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
39
SUBDIRS = . tests
share_perl5dir = $(datarootdir)/perl5/Vyatta
etcdir = /etc
modprobedir = /etc/modprobe.d
tmplscriptdir = $(datadir)/tmplscripts
yangdir = /usr/share/configd/yang
vyatta_configdir = /opt/vyatta/etc/config
vyatta_securitydir = /opt/vyatta/etc/security/
rsyslogdir = /opt/vyatta/share/rsyslog-configs
rsyslog_DATA = usr/share/rsyslog-configs/vyatta-action.template
bin_PROGRAMS =
bin_SCRIPTS =
sysconf_DATA =
sbin_SCRIPTS = scripts/system/vyatta_update_syslog.pl
sbin_SCRIPTS += scripts/system/vyatta_syslog_gencerts
sbin_SCRIPTS += scripts/system/vyatta_update_logrotate.pl
sbin_SCRIPTS += scripts/system/vyatta_syslog_event_scripts
share_perl5_DATA = lib/Vyatta/Syslog.pm
cronhourlydir = /etc/cron.hourly
cronhourly_SCRIPTS = sysconf/vyatta-logrotate-hourly
vyatta_config_scriptsdir = /opt/vyatta/etc/config/scripts
vyatta_preconfigddir = /opt/vyatta/preconfig.d
vyatta_preconfigd_SCRIPTS = preconfig.d/5000-event-script-permissions
cpiop = find . ! -regex '\(.*~\|.*\.bak\|.*\.swp\|.*\#.*\#\)' -print0 | \
cpio -0pd
install-exec-hook:
cd tmplscripts && $(cpiop) $(DESTDIR)$(tmplscriptdir)
mkdir -p $(DESTDIR)$(yangdir)
cd yang && $(cpiop) $(DESTDIR)$(yangdir)