From: Rene Engelhard Date: Mon, 17 Jul 2017 08:53:29 +0000 (+0200) Subject: use ifeq "$(SDK_AUTO_DEPLOYMENT)" "YES" X-Git-Tag: archive/raspbian/1%5.4.0-1+rpi1~2^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e7c6e8f59e9c1cea56ea810be764d971c5adfb53;p=libreoffice.git use ifeq "$(SDK_AUTO_DEPLOYMENT)" "YES" ... instead of ifneq "$(SDK_AUTO_DEPLOYMENT)" "", as the variable is = NO if disabled Change-Id: I7dd2d165235f5cb7e55a8fed628ada71b04c7881 Gbp-Pq: Name examples-fix-SDK_AUTO_DEPLOYMENT-check.diff --- diff --git a/odk/examples/DevelopersGuide/BasicAndDialogs/CreatingDialogs/Makefile b/odk/examples/DevelopersGuide/BasicAndDialogs/CreatingDialogs/Makefile index bcd47ac1725..3af249f9d4b 100644 --- a/odk/examples/DevelopersGuide/BasicAndDialogs/CreatingDialogs/Makefile +++ b/odk/examples/DevelopersGuide/BasicAndDialogs/CreatingDialogs/Makefile @@ -106,7 +106,7 @@ $(COMPONENT_PACKAGE) : $(COMPONENT_JAR) $(COMPONENT_UNOPKG_MANIFEST) cd $(subst /,$(PS),$(OUT_COMP_CLASS)/$(subst .$(UNOOXT_EXT),,$(@F))) && $(SDK_ZIP) -u ../../../bin/$(@F) META-INF/manifest.xml $(REGISTERFLAG) : $(COMPONENT_PACKAGE) -ifneq "$(SDK_AUTO_DEPLOYMENT)" "" +ifeq "$(SDK_AUTO_DEPLOYMENT)" "YES" -$(DEL) $(subst \\,\,$(subst /,$(PS),$@)) -$(MKDIR) $(subst /,$(PS),$(@D)) $(DEPLOYTOOL) $(COMPONENT_PACKAGE_URL)