aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-03-09 19:17:17 +0000
committerng0 <ng0@n0.is>2019-03-09 19:17:17 +0000
commitfb80cce9f8898ffd1838de1df636414ffd3065e2 (patch)
tree564929f93b50da2094f56b01f5da5b822e8f0fde /contrib
parente1328a2a749b32ba053f9bc0a5083e6bdbbada2f (diff)
downloadgnunet-fb80cce9f8898ffd1838de1df636414ffd3065e2.tar.gz
gnunet-fb80cce9f8898ffd1838de1df636414ffd3065e2.zip
contrib: install initd files
Diffstat (limited to 'contrib')
-rw-r--r--contrib/Makefile.am14
1 files changed, 11 insertions, 3 deletions
diff --git a/contrib/Makefile.am b/contrib/Makefile.am
index 1167fb671..49aa36dfd 100644
--- a/contrib/Makefile.am
+++ b/contrib/Makefile.am
@@ -35,6 +35,10 @@ tap64_DATA = \
35 3rdparty/Windows/openvpn-tap32/tapw64/OemWin2k.inf 35 3rdparty/Windows/openvpn-tap32/tapw64/OemWin2k.inf
36endif 36endif
37 37
38INITD_FILES = \
39 services/openrc/gnunet.initd \
40 services/systemd/gnunet.service
41
38EXTRA_DIST = \ 42EXTRA_DIST = \
39 conf/colorit/colorit.conf \ 43 conf/colorit/colorit.conf \
40 conf/editors/eclipse/gnunet_codingstyle.xml \ 44 conf/editors/eclipse/gnunet_codingstyle.xml \
@@ -52,8 +56,6 @@ EXTRA_DIST = \
52 scripts/pydiffer.py.in \ 56 scripts/pydiffer.py.in \
53 packages/nix/default.nix \ 57 packages/nix/default.nix \
54 packages/nix/gnunet-dev.nix \ 58 packages/nix/gnunet-dev.nix \
55 services/openrc/gnunet.initd \
56 services/systemd/gnunet.service \
57 3rdparty/Windows/openvpn-tap32/tapw32/tap0901.sys \ 59 3rdparty/Windows/openvpn-tap32/tapw32/tap0901.sys \
58 3rdparty/Windows/openvpn-tap32/tapw32/tap0901.cat \ 60 3rdparty/Windows/openvpn-tap32/tapw32/tap0901.cat \
59 3rdparty/Windows/openvpn-tap32/tapw32/OemWin2k.inf \ 61 3rdparty/Windows/openvpn-tap32/tapw32/OemWin2k.inf \
@@ -62,7 +64,8 @@ EXTRA_DIST = \
62 3rdparty/Windows/openvpn-tap32/tapw64/OemWin2k.inf \ 64 3rdparty/Windows/openvpn-tap32/tapw64/OemWin2k.inf \
63 3rdparty/Windows/openvpn-tap32/INSTALL \ 65 3rdparty/Windows/openvpn-tap32/INSTALL \
64 3rdparty/Windows/openvpn-tap32/tap32-signed-i386-2.1.zip \ 66 3rdparty/Windows/openvpn-tap32/tap32-signed-i386-2.1.zip \
65 3rdparty/Windows/openvpn-tap32/tap32-source-2.1.zip 67 3rdparty/Windows/openvpn-tap32/tap32-source-2.1.zip \
68 $(INITD_FILES)
66 69
67CLEANFILES = \ 70CLEANFILES = \
68 $(noinst_SCRIPTS) 71 $(noinst_SCRIPTS)
@@ -106,6 +109,7 @@ test_gnunet_prefix_LDADD = \
106 $(LIBLTDL) -lunistring $(XLIB) 109 $(LIBLTDL) -lunistring $(XLIB)
107 110
108pkghellodir= $(pkgdatadir)/hellos 111pkghellodir= $(pkgdatadir)/hellos
112pkginitddir= $(pkgdatadir)/services
109 113
110install-data-local: 114install-data-local:
111 $(mkinstalldirs) $(DESTDIR)$(pkghellodir) 115 $(mkinstalldirs) $(DESTDIR)$(pkghellodir)
@@ -116,6 +120,10 @@ install-data-local:
116 fi \ 120 fi \
117 done 121 done
118 install scripts/gnunet-bugreport $(DESTDIR)$(bindir)/gnunet-bugreport 122 install scripts/gnunet-bugreport $(DESTDIR)$(bindir)/gnunet-bugreport
123 mkdir -p $(DESTDIR)$(pkgdatadir)/services/openrc
124 mkdir -p $(DESTDIR)$(pkgdatadir)/services/systemd
125 install services/openrc/gnunet.initd $(DESTDIR)$(pkginitddir)/openrc/
126 install services/systemd/gnunet.service $(DESTDIR)$(pkginitddir)/systemd/
119 127
120dist-hook: 128dist-hook:
121 if test -d $(srcdir)/hellos; then \ 129 if test -d $(srcdir)/hellos; then \