mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-02-16 15:20:42 +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) \
|
SED_PROCESS = $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(SED) \
|
||||||
-e 's,@libexecdir\@,$(libexecdir),g' \
|
-e 's,@libexecdir\@,$(libexecdir),g' \
|
||||||
-e 's,@daemon_storagedir\@,$(daemon_storagedir),g' \
|
|
||||||
-e 's,@wired_storagedir\@,$(wired_storagedir),g' \
|
|
||||||
< $< > $@
|
< $< > $@
|
||||||
|
|
||||||
%.service: %.service.in Makefile
|
%.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)/$<
|
$(AM_V_GEN)$(A2X) --doctype manpage --format manpage $(srcdir)/$<
|
||||||
|
|
||||||
install-data-local:
|
install-data-local:
|
||||||
|
if !SYSTEMD_SERVICE
|
||||||
if DAEMON
|
if DAEMON
|
||||||
$(MKDIR_P) -m 700 $(DESTDIR)$(daemon_storagedir)
|
$(MKDIR_P) -m 700 $(DESTDIR)$(daemon_storagedir)
|
||||||
endif
|
endif
|
||||||
if WIRED
|
if WIRED
|
||||||
$(MKDIR_P) -m 700 $(DESTDIR)$(wired_storagedir)
|
$(MKDIR_P) -m 700 $(DESTDIR)$(wired_storagedir)
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
-rm -f unit/cert-*.pem unit/cert-*.csr unit/cert-*.srl
|
-rm -f unit/cert-*.pem unit/cert-*.csr unit/cert-*.srl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user