1
0
Fork 0

alsactl: fix build when in subdirectory

create the conf directory as part of the edit recipe

Closes: https://github.com/alsa-project/alsa-utils/pull/311
Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Rudi Heitbaum 2025-12-08 11:12:34 +00:00 committed by Jaroslav Kysela
parent e4de863382
commit 10587067fc

View file

@ -47,6 +47,7 @@ endif
edit = \
extratest=$$(echo ' $(ALSACTL_UDEV_EXTRATEST)' | sed -e 's/__/ /g' -e 's/^ $$//'); \
args=$$(echo ' $(ALSACTL_UDEV_ARGS)' | sed -e 's/__/ /g' -e 's/^ $$//'); \
mkdir -p conf; \
$(SED) -r -e 's,@sbindir\@,$(sbindir),g' \
-e 's,@mydatadir\@,$(mydatadir),g' \
-e 's,@daemonswitch\@,$(ALSACTL_DAEMONSWITCH),g' \