commit ad7412efb21e27b120dcb9d5012be9dacd6309c4
parent 71ae0bee9c6320dae0083ed8c1700bc8fff1defb
Author: Marcel Holtmann <marcel@holtmann.org>
Date: Sun, 8 Sep 2019 19:58:59 +0200
build: Create state directories only when systemd support is disabled
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
@@ -574,8 +574,6 @@ ell/ell.h: Makefile
SED_PROCESS = $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(SED) \
-e 's,@libexecdir\@,$(libexecdir),g' \
- -e 's,@daemon_storagedir\@,$(daemon_storagedir),g' \
- -e 's,@wired_storagedir\@,$(wired_storagedir),g' \
< $< > $@
%.service: %.service.in Makefile
@@ -585,12 +583,14 @@ SED_PROCESS = $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(SED) \
$(AM_V_GEN)$(A2X) --doctype manpage --format manpage $(srcdir)/$<
install-data-local:
+if !SYSTEMD_SERVICE
if DAEMON
$(MKDIR_P) -m 700 $(DESTDIR)$(daemon_storagedir)
endif
if WIRED
$(MKDIR_P) -m 700 $(DESTDIR)$(wired_storagedir)
endif
+endif
clean-local:
-rm -f unit/cert-*.pem unit/cert-*.csr unit/cert-*.srl