diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-05-09 13:09:26 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-05-09 13:09:26 +0200 |
commit | fc0c8ab6205304052a1ecdc65586b36b7a1c706d (patch) | |
tree | 1795aa981dc00dcfadcb294c67e8d445867f74c1 /reference/AGLbuild | |
parent | 2b6134b5cf6515ceb096a8d490382642eaf20a9a (diff) |
Remove bashisme and don't echo executed command.
Change-Id: Ifca91194ce89b3264cbb417ccfd60981bcfc246d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'reference/AGLbuild')
-rwxr-xr-x | reference/AGLbuild | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/reference/AGLbuild b/reference/AGLbuild index ccbc28b..4cfd53a 100755 --- a/reference/AGLbuild +++ b/reference/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} ..) |