mirror of
https://github.com/libretro/slang-shaders.git
synced 2024-11-23 00:10:03 +00:00
85955341f8
Instead of deleting .gitlab-ci.yml after installing into INSTALLDIR, the target tried to delete gitlab-ci.yml (without dot).
17 lines
424 B
Makefile
17 lines
424 B
Makefile
PREFIX := /usr
|
|
INSTALLDIR := $(PREFIX)/share/libretro/shaders/shaders_slang
|
|
|
|
all:
|
|
@echo "Nothing to make for slang-shaders."
|
|
|
|
install:
|
|
mkdir -p $(DESTDIR)$(INSTALLDIR)
|
|
cp -r ./. $(DESTDIR)$(INSTALLDIR)
|
|
rm -f $(DESTDIR)$(INSTALLDIR)/Makefile
|
|
rm -f $(DESTDIR)$(INSTALLDIR)/configure
|
|
rm -f $(DESTDIR)$(INSTALLDIR)/.gitlab-ci.yml
|
|
rm -rf $(DESTDIR)$(INSTALLDIR)/.git
|
|
|
|
test-install: all
|
|
DESTDIR=/tmp/build $(MAKE) install
|