mirror of
https://github.com/libretro/retroarch-joypad-autoconfig.git
synced 2024-11-22 23:49:54 +00:00
7eb4055c9c
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 ```
20 lines
573 B
Makefile
20 lines
573 B
Makefile
PREFIX := /usr
|
|
INSTALLDIR := $(PREFIX)/share/libretro/autoconfig
|
|
DOC_DIR := $(PREFIX)/share/doc/retroarch-joypad-autoconfig
|
|
|
|
all:
|
|
@echo "Nothing to make for retroarch-joypad-autoconfig."
|
|
|
|
install:
|
|
for driver in android dinput hid linuxraw mfi parport qnx sdl2 udev x xinput; do \
|
|
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
|
|
|
|
test-install: all
|
|
DESTDIR=/tmp/build $(MAKE) install
|
|
|
|
test:
|
|
ruby .verify_duplicate_profiles.rb
|