mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
build: Create state directories only when systemd support is disabled
This commit is contained in:
parent
71ae0bee9c
commit
ad7412efb2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user