X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/blobdiff_plain/b147e573818624ac77eab9de38d4f05346d60f5d..3849487aed0a812997e01e4a6eafd4b1567385d1:/contrib/Makefile.am diff --git a/contrib/Makefile.am b/contrib/Makefile.am index 8dfc7106..1fcf0031 100644 --- a/contrib/Makefile.am +++ b/contrib/Makefile.am @@ -25,6 +25,7 @@ include $(top_srcdir)/vars.am +dist_noinst_DATA = noinst_DATA = noinst_SCRIPTS = @@ -53,6 +54,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 @@ -73,4 +99,7 @@ knock: knock.in Makefile $(SUBST) $(srcdir)/knock.in >$@.new $(SUBSTITUTIONS) && \ chmod +x $@.new && mv $@.new $@ +## Configuration for `sshsvc-mkauthkeys'. +dist_noinst_DATA += sshsvc.conf + ###----- That's all, folks --------------------------------------------------