ike: support multiple addresses, ranges and subnets in IKE address config
[strongswan.git] / init / systemd / Makefile.am
index e2bbfc4..e4b7166 100644 (file)
@@ -5,4 +5,8 @@ CLEANFILES = strongswan.service
 systemdsystemunit_DATA = strongswan.service
 
 strongswan.service : strongswan.service.in
-       sed -e "s:@SBINDIR@:$(sbindir):" $(srcdir)/$@.in > $@
+       $(AM_V_GEN) \
+       sed \
+       -e "s:@SBINDIR@:$(sbindir):" \
+       -e "s:@IPSEC_SCRIPT@:$(ipsec_script):" \
+       $(srcdir)/$@.in > $@