chiark / gitweb /
configure.ac: Some random formatting tweaks.
[tripe] / contrib / Makefile.am
index 8802b62af1287e9c4c993451a848e1f39cee26b1..8dfc7106d7ec1d70aac9ad306cf853f38fa7bbfd 100644 (file)
@@ -26,6 +26,7 @@
 include $(top_srcdir)/vars.am
 
 noinst_DATA             =
+noinst_SCRIPTS          =
 
 ###--------------------------------------------------------------------------
 ### Contributions.
@@ -52,4 +53,24 @@ tripe-upstart: tripe-upstart.in Makefile
        $(SUBST) $(srcdir)/tripe-upstart.in >$@.new $(SUBSTITUTIONS) && \
                mv $@.new $@
 
+## `greet' utility for stimulating passive connections.
+if HAVE_PYTHON
+noinst_SCRIPTS         += greet
+EXTRA_DIST             += greet.in
+CLEANFILES             += greet
+
+greet: greet.in Makefile
+       $(SUBST) $(srcdir)/greet.in >$@.new $(SUBSTITUTIONS) && \
+               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 --------------------------------------------------