fix #5676
authorChristian Grothoff <christian@grothoff.org>
Sat, 6 Apr 2019 15:01:46 +0000 (17:01 +0200)
committerChristian Grothoff <christian@grothoff.org>
Sat, 6 Apr 2019 15:01:46 +0000 (17:01 +0200)
configure.ac
contrib/Makefile.am

index c8f7209f373aed4615a1998e58ad4450bf2ae4c5..aeb3520dd5f526e72cd0b54eccfe417eca39c9ca 100644 (file)
@@ -1852,6 +1852,10 @@ AC_DEFINE_UNQUOTED(VCS_VERSION, [$vcs_version], [VCS revision/hash or tarball ve
 AC_CONFIG_FILES([
 Makefile
 contrib/Makefile
+contrib/hellos/Makefile
+contrib/services/Makefile
+contrib/services/openrc/Makefile
+contrib/services/systemd/Makefile
 contrib/scripts/Makefile
 contrib/scripts/gnunet-logread/Makefile
 doc/Makefile
index 82aebed99c0fe4c21383d4f468e6fdadfb9d51d5..c78b6fe9d5e39195af4d0ee026f019d443a1f1d4 100644 (file)
@@ -5,7 +5,7 @@ tap32dir = $(pkgdatadir)/openvpn-tap32/tapw32/
 
 tap64dir = $(pkgdatadir)/openvpn-tap32/tapw64/
 
-SUBDIRS = scripts
+SUBDIRS = scripts hellos services
 
 dist_pkgdata_DATA = \
  gns/gns-bcd.html \
@@ -72,29 +72,3 @@ test_gnunet_prefix_LDADD = \
   $(LTLIBICONV) \
   $(GN_LIBINTL) \
   $(LIBLTDL) -lunistring $(XLIB)
-
-pkghellodir= $(pkgdatadir)/hellos
-pkginitddir= $(pkgdatadir)/services
-
-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
-       mkdir -p $(DESTDIR)$(pkgdatadir)/services/openrc
-       mkdir -p $(DESTDIR)$(pkgdatadir)/services/systemd
-       install services/openrc/gnunet.initd $(DESTDIR)$(pkginitddir)/openrc/
-       install services/systemd/gnunet.service $(DESTDIR)$(pkginitddir)/systemd/
-
-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