From 7eb4055c9c360a39daca0f18c585f207a2f350fd Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Wed, 4 Oct 2023 22:52:59 -0400 Subject: [PATCH] make: Clean up make install usage This fixes warnings that often happened on make install via Lakka. ``` <<< retroarch_joypad_autoconfig:target seq 11 <<< sha256sum: packages/lakka/retroarch_base/retroarch_joypad_autoconfig/joypad_configs/udev/Nintendo: No such file or directory sha256sum: Switch: No such file or directory sha256sum: Left: No such file or directory sha256sum: Joy-Con.cfg: No such file or directory sha256sum: packages/lakka/retroarch_base/retroarch_joypad_autoconfig/joypad_configs/udev/Nintendo: No such file or directory sha256sum: Switch: No such file or directory sha256sum: Right: No such file or directory sha256sum: Joy-Con.cfg: No such file or directory ``` --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 89e63d75b..ff91a918d 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,9 @@ all: install: for driver in android dinput hid linuxraw mfi parport qnx sdl2 udev x xinput; do \ - install -Dm644 -t $(DESTDIR)$(INSTALLDIR)/$$driver $$driver/*.cfg; \ + for file in $$driver/*.cfg; do \ + install -Dm644 -t $(DESTDIR)$(INSTALLDIR)/$$driver "$$file"; \ + done \ done install -Dm644 -t $(DESTDIR)$(DOC_DIR) COPYING README.md retropad_layout.png