contrib: Add the Maemo init config for upstart.
[tripe] / contrib / Makefile.am
index 5d71313..8802b62 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 --------------------------------------------------