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

_updown : _updown.in
	$(AM_V_GEN) \
	sed \
	-e "s:\@sbindir\@:$(sbindir):" \
	-e "s:\@routing_table\@:$(routing_table):" \
	-e "s:\@routing_table_prio\@:$(routing_table_prio):" \
	$(srcdir)/$@.in > $@
	chmod +x $@