Makefile: OS X tar doesn't support --transform

This commit is contained in:
Thomas Bernard 2018-02-14 01:00:02 +01:00
parent f8c0456b3b
commit ffbf51a363

View File

@ -105,6 +105,9 @@ else
OPTIM = 3
CP = cp
ZIP = zip
TARTRANSFORM = $(shell if $(TAR) --version | grep 'GNU tar' > /dev/null ; then \
echo "--strip=1 --transform 's,^,grafx2/,g'" ; else \
echo "-s '/\.\./grafx2/'" ; fi )
PLATFORMFILES = ../share/grafx2/gfx2.png
# Where the SDL frameworks are located
FWDIR = /Library/Frameworks