Fix a couple of issues related to running the autobuild script from
outside the source tree.
Bug-AGL: SPEC-3300
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I32436a3a3b385ab9ca278e1cab67fa43bd9e4eec
distclean: clean-all
configure-release: clean-release
+ @cd $(ROOT_DIR)
@rm -rf node_modules
@npm install
build-all: build-release
package-release: package-%: build-%
+ @mkdir -p $(OUTPUT_DIR)/
@cp $(ROOT_DIR)/package/*.wgt $(OUTPUT_DIR)/
@if [ "$(abspath $(DEST))" != "$(abspath $(OUTPUT_DIR))" ]; then \
mkdir -p $(DEST) && cp $(OUTPUT_DIR)/*.wgt $(DEST); \
distclean: clean-all
configure-release: clean-release
+ @cd $(ROOT_DIR)
@rm -rf node_modules
@npm install
build-all: build-release
package-release: package-%: build-%
+ @mkdir -p $(OUTPUT_DIR)/
@cp $(ROOT_DIR)/package/*.wgt $(OUTPUT_DIR)/
@if [ "$(abspath $(DEST))" != "$(abspath $(OUTPUT_DIR))" ]; then \
mkdir -p $(DEST) && cp $(OUTPUT_DIR)/*.wgt $(DEST); \