diff --git a/Makefile b/Makefile index 45d8e453f83912a860c26dae2a6b26db68995397..d131dacb1a11f4577359559b161949b401f041b9 100644 --- a/Makefile +++ b/Makefile @@ -59,8 +59,11 @@ ALL: install install: clean-ignore-zips install-sss cp-src cp-legacy cp-ext cp-conf $(addprefix $(PUBLIC_DIR)/, $(LIBS)) merge_js build_properties merge_xsl -test: clean-ignore-zips install-sss cp-src cp-legacy cp-ext cp-ext-test cp-conf $(addprefix $(PUBLIC_DIR)/, $(TEST_LIBS)) - $(MAKE) EXTRA_BUILD_FILE="$(TEST_CORE_DIR)/test.properties" merge_js build_properties merge_xsl +test: + $(MAKE) EXTRA_BUILD_FILE="$(TEST_CORE_DIR)/test.properties" build_test + +.PHONY: build_test +build_test: clean-ignore-zips install-sss cp-src cp-legacy cp-ext cp-ext-test cp-conf $(addprefix $(PUBLIC_DIR)/, $(TEST_LIBS)) merge_js build_properties merge_xsl @for f in $(shell find $(TEST_EXT_DIR) -type f -iname *.js) ; do \ sed -i "/EXTENSIONS/a \<script src=\"$${f#$(TEST_EXT_DIR)/}\" ></script>" $(PUBLIC_DIR)/index.html ; \ echo include $$f; \