mirror of
https://github.com/libretro/glsl-shaders.git
synced 2026-11-07 10:36:01 -10:00
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.
17 lines
422 B
Makefile
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
|