X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/blobdiff_plain/5d60949f7d6a88e88d4d962d093b0ae1a4df5096..f48ae55ba0a1acdd96bdfc78130b65008322f53b:/contrib/Makefile.am diff --git a/contrib/Makefile.am b/contrib/Makefile.am index a81e14a8..3bd45912 100644 --- a/contrib/Makefile.am +++ b/contrib/Makefile.am @@ -53,6 +53,31 @@ tripe-upstart: tripe-upstart.in Makefile $(SUBST) $(srcdir)/tripe-upstart.in >$@.new $(SUBSTITUTIONS) && \ mv $@.new $@ +## Systemd units. +noinst_DATA += tripe.service +EXTRA_DIST += tripe.service.in +CLEANFILES += tripe.service + +tripe.service: tripe.service.in Makefile + $(SUBST) $(srcdir)/tripe.service.in >$@.new $(SUBSTITUTIONS) && \ + mv $@.new $@ + +noinst_DATA += tripe-connect.service tripe-conntrack.service +EXTRA_DIST += tripe-service.service.in +CLEANFILES += tripe-connect.service tripe-conntrack.service + +tripe-connect.service: tripe-service.service.in Makefile + $(SUBST) $(srcdir)/tripe-service.service.in >$@.new \ + $(SUBSTITUTIONS) service=connect \ + descr="manage peer connections" && \ + mv $@.new $@ + +tripe-conntrack.service: tripe-service.service.in Makefile + $(SUBST) $(srcdir)/tripe-service.service.in >$@.new \ + $(SUBSTITUTIONS) service=conntrack \ + descr="track network connectivity" && \ + mv $@.new $@ + ## `greet' utility for stimulating passive connections. if HAVE_PYTHON noinst_SCRIPTS += greet @@ -64,4 +89,13 @@ greet: greet.in Makefile chmod +x $@.new && mv $@.new $@ endif +## `knock' script for accepting incoming dynamic associations. +noinst_SCRIPTS += knock +EXTRA_DIST += knock.in +CLEANFILES += knock + +knock: knock.in Makefile + $(SUBST) $(srcdir)/knock.in >$@.new $(SUBSTITUTIONS) && \ + chmod +x $@.new && mv $@.new $@ + ###----- That's all, folks --------------------------------------------------