Fix create_cmd to handle emulator also
[platform/core/appfw/vconf-internal-keys.git] / Makefile
index 9837361..f7276f6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -19,11 +19,17 @@ check:
        echo $(XMLS)
        $(foreach var, $(XMLS), xmllint --noout --schema check.xsd $(var) || exit;)
 
+ifneq ($(profile), )
+xsltopt = --stringparam profile $(profile)
+else
+xsltopt = --stringparam profile ''
+endif
 ifneq ($(model), )
-xsltopt=--stringparam target $(MODEL)
+xsltopt += --stringparam target $(MODEL)
 else
-xsltopt=--stringparam target ''
+xsltopt += --stringparam target ''
 endif
+
 init:
        @mkdir -p report
        @mkdir -p scripts