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

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