aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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