diff --git a/Makefile.am b/Makefile.am index 19ba4488..fc49acee 100644 --- 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