aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
-rw-r--r--contrib/Makefile.am28
2 files changed, 5 insertions, 27 deletions
diff --git a/configure.ac b/configure.ac
index c8f7209f3..aeb3520dd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1852,6 +1852,10 @@ AC_DEFINE_UNQUOTED(VCS_VERSION, [$vcs_version], [VCS revision/hash or tarball ve
1852AC_CONFIG_FILES([ 1852AC_CONFIG_FILES([
1853Makefile 1853Makefile
1854contrib/Makefile 1854contrib/Makefile
1855contrib/hellos/Makefile
1856contrib/services/Makefile
1857contrib/services/openrc/Makefile
1858contrib/services/systemd/Makefile
1855contrib/scripts/Makefile 1859contrib/scripts/Makefile
1856contrib/scripts/gnunet-logread/Makefile 1860contrib/scripts/gnunet-logread/Makefile
1857doc/Makefile 1861doc/Makefile
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