From e835b092d880941fe2ecaefb08edaa67c4fe3053 Mon Sep 17 00:00:00 2001 From: Rene Engelhard Date: Mon, 17 Jul 2017 10:53:29 +0200 Subject: [PATCH] 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 --- .../DevelopersGuide/BasicAndDialogs/CreatingDialogs/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2