summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
authorRene Engelhard <rene@debian.org>2017-07-17 10:53:29 +0200
committerRene Engelhard <rene@debian.org>2017-07-17 19:20:56 +0200
commit77d6bb690865540577c04952ba685a0cfe3fa01e (patch)
tree33b932a92d6510250c2aa76f010537e947decbce /odk
parentbe604957ecab49b1f4dfcfa468d572e0da549d3c (diff)
use ifeq "$(SDK_AUTO_DEPLOYMENT)" "YES"
... instead of ifneq "$(SDK_AUTO_DEPLOYMENT)" "", as the variable is = NO if disabled Change-Id: I7dd2d165235f5cb7e55a8fed628ada71b04c7881
Diffstat (limited to 'odk')
-rw-r--r--odk/examples/DevelopersGuide/BasicAndDialogs/CreatingDialogs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/odk/examples/DevelopersGuide/BasicAndDialogs/CreatingDialogs/Makefile b/odk/examples/DevelopersGuide/BasicAndDialogs/CreatingDialogs/Makefile
index bcd47ac1725f..3af249f9d4b0 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)