diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-05-09 13:20:38 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-15 18:22:20 +0200 |
commit | 1435f4c7f73a51e2a672287424dd0464726a0943 (patch) | |
tree | 3df57c69b6cbf5e78d26301ad249bc8b5834d1ac /templates/hybrid-html5/AGLbuild | |
parent | 89ec4ab1ecbe8547bf58b8ae155ac3008e9b73fd (diff) |
Update template with references.
Change-Id: Ic575adc4c8815f41a02c32d9835332cc2608d513
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'templates/hybrid-html5/AGLbuild')
-rwxr-xr-x | templates/hybrid-html5/AGLbuild | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/templates/hybrid-html5/AGLbuild b/templates/hybrid-html5/AGLbuild index ccbc28b..4cfd53a 100755 --- a/templates/hybrid-html5/AGLbuild +++ b/templates/hybrid-html5/AGLbuild @@ -27,15 +27,19 @@ clean: @([ -d ${BUILD_DIR} ] && make -C ${BUILD_DIR} clean) || echo Nothing to clean mrproper: - rm -rf ${BUILD_DIR} + @rm -rf ${BUILD_DIR} build: ${BUILD_DIR}/Makefile - cmake --build ${BUILD_DIR} --target all + @cmake --build ${BUILD_DIR} --target all package: config.xml.in icon.png.in build | $(PKG_FILELIST) - mkdir -p ${BUILD_DIR}/$@/{bin,etc,lib,htdocs,data} - cmake --build ${BUILD_DIR} --target widget + @mkdir -p ${BUILD_DIR}/$@/bin + @mkdir -p ${BUILD_DIR}/$@/etc + @mkdir -p ${BUILD_DIR}/$@/lib + @mkdir -p ${BUILD_DIR}/$@/htdocs + @mkdir -p ${BUILD_DIR}/$@/data + @cmake --build ${BUILD_DIR} --target widget ${BUILD_DIR}/Makefile: @[ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR} - @[ -f ${BUILD_DIR}/Makefile ] || (cd ${BUILD_DIR} && cmake ${CMAKE_OPTS} ..)
\ No newline at end of file + @[ -f ${BUILD_DIR}/Makefile ] || (cd ${BUILD_DIR} && cmake ${CMAKE_OPTS} ..) |