Browse Source

Add missing Makefiles

ng0 5 years ago
parent
commit
09cb17e77b

+ 22 - 0
contrib/hellos/Makefile.am

@@ -0,0 +1,22 @@
+# This Makefile.am is in the public domain
+
+pkghellodir= $(pkgdatadir)/hellos
+
+install-data-local:
+	$(mkinstalldirs) $(DESTDIR)$(pkghellodir)
+	@$(NORMAL_INSTALL)
+	for hello in $(srcdir)/hellos/*; do \
+	  if test -f $$hello; then \
+	    $(INSTALL_DATA) $$hello $(DESTDIR)$(pkghellodir)/ ; \
+	  fi \
+	done
+
+dist-hook:
+	if test -d $(srcdir)/hellos; then \
+	  mkdir -p $(distdir)/hellos; \
+	  for hello in $(srcdir)/hellos/*; do \
+	    if test -f $$hello; then \
+	      cp -p $$hello $(distdir)/hellos; \
+	    fi \
+	  done \
+	fi

+ 1 - 0
contrib/services/Makefile.am

@@ -0,0 +1 @@
+SUBDIRS = openrc systemd

+ 6 - 0
contrib/services/openrc/Makefile.am

@@ -0,0 +1,6 @@
+pkginitddir= $(pkgdatadir)/services/openrc
+
+install-data-local:
+	$(mkinstalldirs) $(DESTDIR)$(pkginitdir)
+	@$(NORMAL_INSTALL)
+    $(INSTALL_DATA) gnunet.initd $(DESTDIR)$(pkginitdir)

+ 6 - 0
contrib/services/systemd/Makefile.am

@@ -0,0 +1,6 @@
+pkginitddir= $(pkgdatadir)/services/systemd
+
+install-data-local:
+	$(mkinstalldirs) $(DESTDIR)$(pkginitdir)
+	@$(NORMAL_INSTALL)
+    $(INSTALL_DATA) gnunet.service $(DESTDIR)$(pkginitdir)