Files
glsl-shaders/Makefile
T
Stefan Schlosser bf52cc898f build: Enable building cross-platform; don't install git history (#555)
This changes the cp operation to work on more platforms/environments,
where the -t option is not available. Additionally remove the .git and
.gitlab-ci.yml files after installation.
2026-03-30 08:34:05 -05:00

17 lines
422 B
Makefile

PREFIX := /usr
INSTALLDIR := $(PREFIX)/share/libretro/shaders/shaders_glsl
all:
@echo "Nothing to make for glsl-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