slang-shaders/Makefile
Stefan Schlosser 85955341f8 build: fix .gitlab-ci.yml removal
Instead of deleting .gitlab-ci.yml after installing into INSTALLDIR, the target
tried to delete gitlab-ci.yml (without dot).
2024-11-21 20:28:43 +01:00

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