forked from vyos-legacy/vyatta-webproxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
36 lines (26 loc) · 1.1 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
cfgdir = $(datadir)/vyatta-cfg/templates
opdir = $(datadir)/vyatta-op/templates
share_perl5dir = $(datarootdir)/perl5/Vyatta
bin_sudo_usersdir = $(bindir)/sudo-users
cgidir = /usr/lib/cgi-bin
wwwdir = /var/www/images
curverdir = $(sysconfdir)/config-migrate/current
curver_DATA = cfg-version/webproxy@1
sbin_SCRIPTS = scripts/vyatta-update-webproxy.pl
sbin_SCRIPTS += scripts/test_uf
bin_sudo_users_SCRIPTS = scripts/vyatta-show-webproxy.pl
bin_sudo_users_SCRIPTS += scripts/vyatta-sg-summary.pl
bin_sudo_users_SCRIPTS += scripts/vyatta-sg-blacklist.pl
bin_sudo_users_SCRIPTS += scripts/vyatta-restart-squid
bin_sudo_users_SCRIPTS += scripts/vyatta-clear-squid
share_perl5_DATA = lib/Vyatta/Webproxy.pm
cgi_SCRIPTS = cgi/squidGuard-simple.cgi
www_DATA = www/blocked.gif
sysconf_DATA = sysconf/safesearch_rewrites
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)