diff options
author | ng0 <ng0@n0.is> | 2019-04-06 15:35:56 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-04-06 15:35:56 +0000 |
commit | 09cb17e77bf978b2c449f572aa5a227ebf9ba8e9 (patch) | |
tree | 6c7cc8ddbcaa35aa9b4a069aeb1b824e1b19d665 /contrib | |
parent | e0ec610391ad9e4139962f42d17d92bdda7c9c16 (diff) | |
download | gnunet-09cb17e77bf978b2c449f572aa5a227ebf9ba8e9.tar.gz gnunet-09cb17e77bf978b2c449f572aa5a227ebf9ba8e9.zip |
Add missing Makefiles
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/hellos/Makefile.am | 22 | ||||
-rw-r--r-- | contrib/services/Makefile.am | 1 | ||||
-rw-r--r-- | contrib/services/openrc/Makefile.am | 6 | ||||
-rw-r--r-- | contrib/services/systemd/Makefile.am | 6 |
4 files changed, 35 insertions, 0 deletions
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 @@ | |||
1 | # This Makefile.am is in the public domain | ||
2 | |||
3 | pkghellodir= $(pkgdatadir)/hellos | ||
4 | |||
5 | install-data-local: | ||
6 | $(mkinstalldirs) $(DESTDIR)$(pkghellodir) | ||
7 | @$(NORMAL_INSTALL) | ||
8 | for hello in $(srcdir)/hellos/*; do \ | ||
9 | if test -f $$hello; then \ | ||
10 | $(INSTALL_DATA) $$hello $(DESTDIR)$(pkghellodir)/ ; \ | ||
11 | fi \ | ||
12 | done | ||
13 | |||
14 | dist-hook: | ||
15 | if test -d $(srcdir)/hellos; then \ | ||
16 | mkdir -p $(distdir)/hellos; \ | ||
17 | for hello in $(srcdir)/hellos/*; do \ | ||
18 | if test -f $$hello; then \ | ||
19 | cp -p $$hello $(distdir)/hellos; \ | ||
20 | fi \ | ||
21 | done \ | ||
22 | 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 @@ | |||
1 | pkginitddir= $(pkgdatadir)/services/openrc | ||
2 | |||
3 | install-data-local: | ||
4 | $(mkinstalldirs) $(DESTDIR)$(pkginitdir) | ||
5 | @$(NORMAL_INSTALL) | ||
6 | $(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 @@ | |||
1 | pkginitddir= $(pkgdatadir)/services/systemd | ||
2 | |||
3 | install-data-local: | ||
4 | $(mkinstalldirs) $(DESTDIR)$(pkginitdir) | ||
5 | @$(NORMAL_INSTALL) | ||
6 | $(INSTALL_DATA) gnunet.service $(DESTDIR)$(pkginitdir) | ||