From a047b521311918056979eaa6ac8a03416ba3d137 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Sat, 13 May 2017 13:44:23 +0200 Subject: [PATCH] Updating template to the new AGLbuild script Change-Id: I3346850bf36797aa6a73db39c630ac5ea668cee5 Signed-off-by: Romain Forlot --- templates/html5/AGLbuild | 2 ++ templates/hybrid-html5/AGLbuild | 2 ++ templates/native/AGLbuild | 2 ++ templates/service/AGLbuild | 2 ++ 4 files changed, 8 insertions(+) diff --git a/templates/html5/AGLbuild b/templates/html5/AGLbuild index 4cfd53a..5f8f595 100755 --- a/templates/html5/AGLbuild +++ b/templates/html5/AGLbuild @@ -38,7 +38,9 @@ package: config.xml.in icon.png.in build | $(PKG_FILELIST) @mkdir -p ${BUILD_DIR}/$@/lib @mkdir -p ${BUILD_DIR}/$@/htdocs @mkdir -p ${BUILD_DIR}/$@/data + @mkdir -p package @cmake --build ${BUILD_DIR} --target widget + @cp ${BUILD_DIR}/*wgt package ${BUILD_DIR}/Makefile: @[ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR} diff --git a/templates/hybrid-html5/AGLbuild b/templates/hybrid-html5/AGLbuild index 4cfd53a..5f8f595 100755 --- a/templates/hybrid-html5/AGLbuild +++ b/templates/hybrid-html5/AGLbuild @@ -38,7 +38,9 @@ package: config.xml.in icon.png.in build | $(PKG_FILELIST) @mkdir -p ${BUILD_DIR}/$@/lib @mkdir -p ${BUILD_DIR}/$@/htdocs @mkdir -p ${BUILD_DIR}/$@/data + @mkdir -p package @cmake --build ${BUILD_DIR} --target widget + @cp ${BUILD_DIR}/*wgt package ${BUILD_DIR}/Makefile: @[ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR} diff --git a/templates/native/AGLbuild b/templates/native/AGLbuild index 4cfd53a..5f8f595 100755 --- a/templates/native/AGLbuild +++ b/templates/native/AGLbuild @@ -38,7 +38,9 @@ package: config.xml.in icon.png.in build | $(PKG_FILELIST) @mkdir -p ${BUILD_DIR}/$@/lib @mkdir -p ${BUILD_DIR}/$@/htdocs @mkdir -p ${BUILD_DIR}/$@/data + @mkdir -p package @cmake --build ${BUILD_DIR} --target widget + @cp ${BUILD_DIR}/*wgt package ${BUILD_DIR}/Makefile: @[ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR} diff --git a/templates/service/AGLbuild b/templates/service/AGLbuild index 4cfd53a..5f8f595 100755 --- a/templates/service/AGLbuild +++ b/templates/service/AGLbuild @@ -38,7 +38,9 @@ package: config.xml.in icon.png.in build | $(PKG_FILELIST) @mkdir -p ${BUILD_DIR}/$@/lib @mkdir -p ${BUILD_DIR}/$@/htdocs @mkdir -p ${BUILD_DIR}/$@/data + @mkdir -p package @cmake --build ${BUILD_DIR} --target widget + @cp ${BUILD_DIR}/*wgt package ${BUILD_DIR}/Makefile: @[ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR} -- 2.16.6