X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=Makefile;h=ec2a1fa45bc03f1fcc3d4845779da7eb226784b1;hb=ea8197757f1563e931913386d2904de99348c511;hp=a9f69498ee711e995934a01a6130ec92b3987491;hpb=53b340d7f8c011e9e018ee62de4d2fe97f034754;p=platform%2Fframework%2Fweb%2Fweb-ui-fw.git diff --git a/Makefile b/Makefile index a9f6949..ec2a1fa 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,7 @@ PKG_VERSION = $(shell cat packaging/web-ui-fw.spec | grep Version: | sed -e "s@V THEME_NAME = default PATH := $(CURDIR)/build-tools/bin:$(PATH) +NODE = /usr/bin/node JSLINT_LEVEL = 1 JSLINT = jslint --sloppy --eqeq --bitwise --forin --nomen --predef jQuery --color --plusplus --browser --jqmspace --regexp --continue @@ -54,6 +55,7 @@ LIBS_JS_FILES = jquery.easing.1.3.js \ jquery.tmpl.js \ jquery.mobile.js \ globalize/lib/globalize.js \ + gl-matrix.js \ $(NULL) JQUERY_MOBILE_CSS = submodules/jquery-mobile/compiled/jquery.mobile.structure.css \ @@ -103,7 +105,7 @@ js: init third_party # Building JS files... mkdir -p ${JS_LIB_OUTPUT_DIR}; \ cp -a ${JS_DIR}/* ${JS_LIB_OUTPUT_DIR}/; \ - /usr/bin/node $(CURDIR)/tools/moduledep.js -c ${JS_LIB_OUTPUT_DIR} > ${JS_LIB_OUTPUT_DIR}/../depData.json; \ + ${NODE} $(CURDIR)/tools/moduledep.js -c ${JS_LIB_OUTPUT_DIR} > ${JS_LIB_OUTPUT_DIR}/../depData.json; \ find ${JS_LIB_OUTPUT_DIR} -iname '*.js' | sort | \ while read JSFILE; do \ echo " # Building $$JSFILE"; \ @@ -123,9 +125,9 @@ js: init third_party echo " $$f"; \ fi; \ done; \ - /usr/bin/node $(CURDIR)/tools/moduledep.js -d ${JS_LIB_OUTPUT_DIR} ${JS_LIB_OUTPUT_DIR}/../depData.json >> ${FW_JS}; \ + ${NODE} $(CURDIR)/tools/moduledep.js -d ${JS_LIB_OUTPUT_DIR} ${JS_LIB_OUTPUT_DIR}/../depData.json >> ${FW_JS}; \ cp -a ${JS_DIR}/* ${JQM_LIB_PATH}/js/* ${JS_LIB_OUTPUT_DIR}/; \ - /usr/bin/node $(CURDIR)/tools/moduledep.js -c ${JS_LIB_OUTPUT_DIR} > ${JS_LIB_OUTPUT_DIR}/../depData.json; \ + ${NODE} $(CURDIR)/tools/moduledep.js -c ${JS_LIB_OUTPUT_DIR} > ${JS_LIB_OUTPUT_DIR}/../depData.json; \ find ${JS_LIB_OUTPUT_DIR} -iname '*.js' | xargs sed -i -e '/^\/\/>>excludeStart\(.*\);/,/^\/\/>>excludeEnd\(.*\);/d'; widgets: init third_party globalize