diff options
Diffstat (limited to 'contrib/Makefile.am')
-rw-r--r-- | contrib/Makefile.am | 28 |
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 | ||
6 | tap64dir = $(pkgdatadir)/openvpn-tap32/tapw64/ | 6 | tap64dir = $(pkgdatadir)/openvpn-tap32/tapw64/ |
7 | 7 | ||
8 | SUBDIRS = scripts | 8 | SUBDIRS = scripts hellos services |
9 | 9 | ||
10 | dist_pkgdata_DATA = \ | 10 | dist_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 | |||
76 | pkghellodir= $(pkgdatadir)/hellos | ||
77 | pkginitddir= $(pkgdatadir)/services | ||
78 | |||
79 | install-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 | |||
92 | dist-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 | ||