aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-04-06 17:01:46 +0200
committerChristian Grothoff <christian@grothoff.org>2019-04-06 17:01:46 +0200
commita15e470f0d6af177d2f699ce5dbd2c549a73ff59 (patch)
tree0c2842d8cbe3bf9232da0468ecf0f8b94242743b /contrib
parentc78568d583635b361e785b5c0f9ec21b89b1792b (diff)
downloadgnunet-a15e470f0d6af177d2f699ce5dbd2c549a73ff59.tar.gz
gnunet-a15e470f0d6af177d2f699ce5dbd2c549a73ff59.zip
fix #5676
Diffstat (limited to 'contrib')
-rw-r--r--contrib/Makefile.am28
1 files changed, 1 insertions, 27 deletions
diff --git a/contrib/Makefile.am b/contrib/Makefile.am
index 82aebed99..c78b6fe9d 100644
--- a/contrib/Makefile.am
+++ b/contrib/Makefile.am
@@ -5,7 +5,7 @@ tap32dir = $(pkgdatadir)/openvpn-tap32/tapw32/
5 5
6tap64dir = $(pkgdatadir)/openvpn-tap32/tapw64/ 6tap64dir = $(pkgdatadir)/openvpn-tap32/tapw64/
7 7
8SUBDIRS = scripts 8SUBDIRS = scripts hellos services
9 9
10dist_pkgdata_DATA = \ 10dist_pkgdata_DATA = \
11 gns/gns-bcd.html \ 11 gns/gns-bcd.html \
@@ -72,29 +72,3 @@ test_gnunet_prefix_LDADD = \
72 $(LTLIBICONV) \ 72 $(LTLIBICONV) \
73 $(GN_LIBINTL) \ 73 $(GN_LIBINTL) \
74 $(LIBLTDL) -lunistring $(XLIB) 74 $(LIBLTDL) -lunistring $(XLIB)
75
76pkghellodir= $(pkgdatadir)/hellos
77pkginitddir= $(pkgdatadir)/services
78
79install-data-local:
80 $(mkinstalldirs) $(DESTDIR)$(pkghellodir)
81 @$(NORMAL_INSTALL)
82 for hello in $(srcdir)/hellos/*; do \
83 if test -f $$hello; then \
84 $(INSTALL_DATA) $$hello $(DESTDIR)$(pkghellodir)/ ; \
85 fi \
86 done
87 mkdir -p $(DESTDIR)$(pkgdatadir)/services/openrc
88 mkdir -p $(DESTDIR)$(pkgdatadir)/services/systemd
89 install services/openrc/gnunet.initd $(DESTDIR)$(pkginitddir)/openrc/
90 install services/systemd/gnunet.service $(DESTDIR)$(pkginitddir)/systemd/
91
92dist-hook:
93 if test -d $(srcdir)/hellos; then \
94 mkdir -p $(distdir)/hellos; \
95 for hello in $(srcdir)/hellos/*; do \
96 if test -f $$hello; then \
97 cp -p $$hello $(distdir)/hellos; \
98 fi \
99 done \
100 fi