[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 02/03: Add missing Makefiles
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 02/03: Add missing Makefiles |
Date: |
Sat, 06 Apr 2019 17:39:57 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnunet.
commit 09cb17e77bf978b2c449f572aa5a227ebf9ba8e9
Author: ng0 <address@hidden>
AuthorDate: Sat Apr 6 15:35:56 2019 +0000
Add missing Makefiles
---
contrib/hellos/Makefile.am | 22 ++++++++++++++++++++++
contrib/services/Makefile.am | 1 +
contrib/services/openrc/Makefile.am | 6 ++++++
contrib/services/systemd/Makefile.am | 6 ++++++
4 files changed, 35 insertions(+)
diff --git a/contrib/hellos/Makefile.am b/contrib/hellos/Makefile.am
new file mode 100644
index 000000000..18a6458fe
--- /dev/null
+++ b/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
diff --git a/contrib/services/Makefile.am b/contrib/services/Makefile.am
new file mode 100644
index 000000000..eb4bd7deb
--- /dev/null
+++ b/contrib/services/Makefile.am
@@ -0,0 +1 @@
+SUBDIRS = openrc systemd
diff --git a/contrib/services/openrc/Makefile.am
b/contrib/services/openrc/Makefile.am
new file mode 100644
index 000000000..a02854384
--- /dev/null
+++ b/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)
diff --git a/contrib/services/systemd/Makefile.am
b/contrib/services/systemd/Makefile.am
new file mode 100644
index 000000000..7120f6f52
--- /dev/null
+++ b/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)
--
To stop receiving notification emails like this one, please contact
address@hidden