mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-24 13:13:58 +00:00
BUILD: MACOS: Fix/simplify the xattr
check for older OSX
Just reuse the MACOSX_LEOPARD_OR_BELOW define, since TextEdit isn't able to make anything out of this attribute on Leopard or below anyway. Fixes a GNU make mistake of mine in commit cdbdb58e07cc2235cd24ce2d6e8ea515938fdd93.
This commit is contained in:
parent
23a9742eac
commit
ad42ff82d3
4
ports.mk
4
ports.mk
@ -608,7 +608,9 @@ osxsnap: bundle
|
||||
cp $(DIST_FILES_DOCS_se) ./ScummVM-snapshot/doc/se/
|
||||
$(XCODETOOLSPATH)/SetFile -t ttro -c ttxt ./ScummVM-snapshot/doc/QuickStart
|
||||
$(XCODETOOLSPATH)/SetFile -t ttro -c ttxt ./ScummVM-snapshot/doc/*/*
|
||||
command -v xattr >/dev/null 2>&1 && xattr -w "com.apple.TextEncoding" "utf-8;134217984" ./ScummVM-snapshot/doc/*/*
|
||||
ifndef MACOSX_LEOPARD_OR_BELOW
|
||||
xattr -w "com.apple.TextEncoding" "utf-8;134217984" ./ScummVM-snapshot/doc/*/*
|
||||
endif
|
||||
cp -RP $(bundle_name) ./ScummVM-snapshot/
|
||||
cp $(srcdir)/dists/macosx/DS_Store ./ScummVM-snapshot/.DS_Store
|
||||
cp $(srcdir)/dists/macosx/background.jpg ./ScummVM-snapshot/background.jpg
|
||||
|
Loading…
x
Reference in New Issue
Block a user