summaryrefslogtreecommitdiff
path: root/src/_updown/Makefile.am
blob: 5fc04ab885206ab9f6b50f3b54df91c969747e9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
ipsec_SCRIPTS = _updown
CLEANFILES = _updown
dist_man8_MANS = _updown.8
EXTRA_DIST = _updown.in

_updown : _updown.in
	sed \
	-e "s:@IPSEC_SBINDIR@:$(sbindir):" \
	-e "s:\@IPSEC_ROUTING_TABLE\@:$(IPSEC_ROUTING_TABLE):" \
	-e "s:\@IPSEC_ROUTING_TABLE_PRIO\@:$(IPSEC_ROUTING_TABLE_PRIO):" \
	$(srcdir)/$@.in > $@
	chmod +x $@