chiark / gitweb /
contrib: Add the Maemo init config for upstart.
[tripe] / contrib / Makefile.am
index 5d713137901d3140d24df7d4eb7de1f817a0879a..8802b62af1287e9c4c993451a848e1f39cee26b1 100644 (file)
@@ -43,4 +43,13 @@ ipif-peers: ipif-peers.in Makefile
        $(SUBST) $(srcdir)/ipif-peers.in >$@.new $(SUBSTITUTIONS) && \
                mv $@.new $@
 
+## Upstart fragment.  This forks with Maemo's ancient upstart.
+noinst_DATA            += tripe-upstart
+EXTRA_DIST             += tripe-upstart.in
+CLEANFILES             += tripe-upstart
+
+tripe-upstart: tripe-upstart.in Makefile
+       $(SUBST) $(srcdir)/tripe-upstart.in >$@.new $(SUBSTITUTIONS) && \
+               mv $@.new $@
+
 ###----- That's all, folks --------------------------------------------------