2017-07-25 03:17:06 +00:00
|
|
|
PREFIX := /usr
|
|
|
|
INSTALLDIR := $(PREFIX)/share/libretro/autoconfig
|
2020-07-02 02:54:52 +00:00
|
|
|
DOC_DIR := $(PREFIX)/share/doc/retroarch-joypad-autoconfig
|
2017-06-23 00:24:05 +00:00
|
|
|
|
|
|
|
all:
|
|
|
|
@echo "Nothing to make for retroarch-joypad-autoconfig."
|
|
|
|
|
|
|
|
install:
|
2021-01-24 05:33:01 +00:00
|
|
|
for driver in android dinput hid linuxraw mfi parport qnx sdl2 udev x xinput; do \
|
2023-10-05 02:52:59 +00:00
|
|
|
for file in $$driver/*.cfg; do \
|
|
|
|
install -Dm644 -t $(DESTDIR)$(INSTALLDIR)/$$driver "$$file"; \
|
|
|
|
done \
|
2020-07-02 02:54:52 +00:00
|
|
|
done
|
|
|
|
install -Dm644 -t $(DESTDIR)$(DOC_DIR) COPYING README.md retropad_layout.png
|
2017-07-21 18:12:17 +00:00
|
|
|
|
|
|
|
test-install: all
|
|
|
|
DESTDIR=/tmp/build $(MAKE) install
|
2023-09-27 16:30:07 +00:00
|
|
|
|
|
|
|
test:
|
|
|
|
ruby .verify_duplicate_profiles.rb
|