mirror of
https://github.com/libretro/retroarch-joypad-autoconfig.git
synced 2024-11-23 16:09:54 +00:00
Fix DESTDIR, and add INSTALLDIR
This commit is contained in:
parent
68e5fdfdc2
commit
4298254bcf
13
Makefile
13
Makefile
@ -1,10 +1,13 @@
|
||||
DESTDIR := /tmp/retroarch-joypad-autoconfig
|
||||
INSTALLDIR := /usr/share/libretro/autoconfig
|
||||
|
||||
all:
|
||||
@echo "Nothing to make for retroarch-joypad-autoconfig."
|
||||
|
||||
install:
|
||||
mkdir -p $(DESTDIR)
|
||||
cp -ar * $(DESTDIR)
|
||||
rm $(DESTDIR)/Makefile
|
||||
rm $(DESTDIR)/configure
|
||||
mkdir -p $(DESTDIR)$(INSTALLDIR)
|
||||
cp -ar * $(DESTDIR)$(INSTALLDIR)
|
||||
rm -rf $(DESTDIR)$(INSTALLDIR)/Makefile \
|
||||
$(DESTDIR)$(INSTALLDIR)/configure
|
||||
|
||||
test-install: all
|
||||
DESTDIR=/tmp/build $(MAKE) install
|
||||
|
Loading…
Reference in New Issue
Block a user