aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/native
diff options
context:
space:
mode:
authorwsnipex <wsnipex@a1.net>2015-01-04 17:41:15 +0100
committerMemphiz <memphis@machzwo.de>2015-01-08 21:59:02 +0100
commit145112899a48560df8146376542adfddd3adf79f (patch)
tree2cde52416459108bc78f162a9ba07f80989fd7fb /tools/depends/native
parent0f3ae0954edf2de940fc03cda9243611124f441b (diff)
[TexturePacker] TEMP workaround for skins: create legacy link. Remove me when skins are fixed
Diffstat (limited to 'tools/depends/native')
-rw-r--r--tools/depends/native/TexturePacker/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/depends/native/TexturePacker/Makefile b/tools/depends/native/TexturePacker/Makefile
index 060c502a41..a49b658dcf 100644
--- a/tools/depends/native/TexturePacker/Makefile
+++ b/tools/depends/native/TexturePacker/Makefile
@@ -21,6 +21,10 @@ ifeq ($(OS), android)
EXTRA_CONFIGURE = --enable-static
endif
+ifeq ($(XBMCROOT),)
+ XBMCROOT = $(ROOT_DIR)/../../../..
+endif
+
SOURCE=$(ROOT_DIR)/src
APP=$(PLATFORM)/TexturePacker
@@ -44,6 +48,12 @@ $(APP): $(PLATFORM)
.installed-$(PLATFORM): $(APP)
$(MAKE) -C $(PLATFORM) install
touch $@
+ #TEMP workaround for skins: create legacy link. Remove me when skins are fixed
+ @mkdir -p $(XBMCROOT)/tools/TexturePacker
+ @[ -f $(XBMCROOT)/tools/TexturePacker/TexturePacker ] && rm $(XBMCROOT)/tools/TexturePacker/TexturePacker || :
+ @ln -s $(APPBIN) $(XBMCROOT)/tools/TexturePacker/TexturePacker
+ @echo "all:" > $(XBMCROOT)/tools/TexturePacker/Makefile
+ @echo "\t@echo "WARNING: use of tools/TexturePacker/TexturePacker is deprecated, please update your skins Makefile"" >> $(XBMCROOT)/tools/TexturePacker/Makefile
clean:
$(MAKE) -C $(PLATFORM) clean