]> git.alsa-project.org Git - alsa-utils.git/commitdiff
alsactl: fix build when in subdirectory
authorRudi Heitbaum <rudi@heitbaum.com>
Mon, 8 Dec 2025 11:12:34 +0000 (11:12 +0000)
committerJaroslav Kysela <perex@perex.cz>
Mon, 8 Dec 2025 14:51:01 +0000 (15:51 +0100)
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>
alsactl/Makefile.am

index 48b7c7a68d50b97323161402407744deffafc47d..c8729e04e4a4e682bce18955e14ab381461b67c7 100644 (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' \