From: ng0 Date: Sat, 9 Mar 2019 19:17:17 +0000 (+0000) Subject: contrib: install initd files X-Git-Tag: v0.11.1~120 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fb80cce9f8898ffd1838de1df636414ffd3065e2;p=oweals%2Fgnunet.git contrib: install initd files --- 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 = \ 3rdparty/Windows/openvpn-tap32/tapw64/OemWin2k.inf endif +INITD_FILES = \ + services/openrc/gnunet.initd \ + services/systemd/gnunet.service + EXTRA_DIST = \ conf/colorit/colorit.conf \ conf/editors/eclipse/gnunet_codingstyle.xml \ @@ -52,8 +56,6 @@ EXTRA_DIST = \ scripts/pydiffer.py.in \ packages/nix/default.nix \ packages/nix/gnunet-dev.nix \ - services/openrc/gnunet.initd \ - services/systemd/gnunet.service \ 3rdparty/Windows/openvpn-tap32/tapw32/tap0901.sys \ 3rdparty/Windows/openvpn-tap32/tapw32/tap0901.cat \ 3rdparty/Windows/openvpn-tap32/tapw32/OemWin2k.inf \ @@ -62,7 +64,8 @@ EXTRA_DIST = \ 3rdparty/Windows/openvpn-tap32/tapw64/OemWin2k.inf \ 3rdparty/Windows/openvpn-tap32/INSTALL \ 3rdparty/Windows/openvpn-tap32/tap32-signed-i386-2.1.zip \ - 3rdparty/Windows/openvpn-tap32/tap32-source-2.1.zip + 3rdparty/Windows/openvpn-tap32/tap32-source-2.1.zip \ + $(INITD_FILES) CLEANFILES = \ $(noinst_SCRIPTS) @@ -106,6 +109,7 @@ test_gnunet_prefix_LDADD = \ $(LIBLTDL) -lunistring $(XLIB) pkghellodir= $(pkgdatadir)/hellos +pkginitddir= $(pkgdatadir)/services install-data-local: $(mkinstalldirs) $(DESTDIR)$(pkghellodir) @@ -116,6 +120,10 @@ install-data-local: fi \ done install scripts/gnunet-bugreport $(DESTDIR)$(bindir)/gnunet-bugreport + 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 \