summaryrefslogtreecommitdiff
path: root/init/systemd-swanctl/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'init/systemd-swanctl/Makefile.am')
-rw-r--r--init/systemd-swanctl/Makefile.am11
1 files changed, 11 insertions, 0 deletions
diff --git a/init/systemd-swanctl/Makefile.am b/init/systemd-swanctl/Makefile.am
new file mode 100644
index 000000000..eee30acc8
--- /dev/null
+++ b/init/systemd-swanctl/Makefile.am
@@ -0,0 +1,11 @@
+
+EXTRA_DIST = strongswan-swanctl.service.in
+CLEANFILES = strongswan-swanctl.service
+
+systemdsystemunit_DATA = strongswan-swanctl.service
+
+strongswan-swanctl.service : strongswan-swanctl.service.in
+ $(AM_V_GEN) \
+ sed \
+ -e "s:@SBINDIR@:$(sbindir):" \
+ $(srcdir)/$@.in > $@