summaryrefslogtreecommitdiff
path: root/src/_updown/Makefile.am
blob: 9fd592797f56542d90cae197dd9eb5343ad9809b (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):" \
	$< > $@
	chmod +x $@