-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathMakefile.am
33 lines (26 loc) · 1.27 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
share_perl5dir = $(datarootdir)/perl5/Vyatta
ravpnconfdir = $(sysconfdir)/ravpn
bin_sudo_usersdir = $(bindir)/sudo-users
sbin_SCRIPTS = scripts/vyatta-update-l2tp.pl
sbin_SCRIPTS += scripts/vyatta-update-pptp.pl
bin_sudo_users_SCRIPTS = scripts/vyatta-kick-ravpn.pl
bin_sudo_users_SCRIPTS += scripts/vyatta-pptp-dhcp.pl
bin_sudo_users_SCRIPTS += scripts/vyatta-l2tp-dhcp.pl
share_perl5_DATA = lib/Vyatta/L2TPConfig.pm
share_perl5_DATA += lib/Vyatta/PPTPConfig.pm
ravpnconf_SCRIPTS = scripts/ppp-ip-up
ravpnconf_SCRIPTS += scripts/ppp-ip-down
ravpnconf_DATA = scripts/radius-dictionary.microsoft
cpiop = find . ! -regex '\(.*~\|.*\.bak\|.*\.swp\|.*\#.*\#\)' -print0 | \
cpio -0pd
install-exec-hook:
mkdir -p $(DESTDIR)/etc/ppp/ip-pre-up.d \
$(DESTDIR)/etc/ppp/ip-up.d \
$(DESTDIR)/etc/ppp/ip-down.d \
$(DESTDIR)/etc/dhcp/dhclient-exit-hooks.d
cp scripts/rename-l2tp $(DESTDIR)/etc/ppp/ip-pre-up.d/0004rename-l2tp
chmod 755 $(DESTDIR)/etc/ppp/ip-pre-up.d/0004rename-l2tp
cp scripts/rename-pptp $(DESTDIR)/etc/ppp/ip-pre-up.d/0005rename-pptp
chmod 755 $(DESTDIR)/etc/ppp/ip-pre-up.d/0005rename-pptp
cp scripts/pptpd-dhclient-hook $(DESTDIR)/etc/dhcp/dhclient-exit-hooks.d/pptpd
cp scripts/l2tp-dhclient-hook $(DESTDIR)/etc/dhcp/dhclient-exit-hooks.d/l2tpd