management of any attribute by ipsec pool
[strongswan.git] / src / _updown / Makefile.am
index 838fa81..116322e 100644 (file)
@@ -1,11 +1,12 @@
-dist_ipsec_SCRIPTS = _updown
+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):" \
-       $< > $@
+       -e "s:\@sbindir\@:$(sbindir):" \
+       -e "s:\@routing_table\@:$(routing_table):" \
+       -e "s:\@routing_table_prio\@:$(routing_table_prio):" \
+       $(srcdir)/$@.in > $@
        chmod +x $@