aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-13 13:44:23 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-05-13 13:44:38 +0200
commita047b521311918056979eaa6ac8a03416ba3d137 (patch)
tree6136d248380a6cc4f288f6ae0bce0f203d9d35b6
parent44c91357eb31a1dfc1ba012721e98c3d13427f2b (diff)
Updating template to the new AGLbuild script
Change-Id: I3346850bf36797aa6a73db39c630ac5ea668cee5 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rwxr-xr-xtemplates/html5/AGLbuild2
-rwxr-xr-xtemplates/hybrid-html5/AGLbuild2
-rwxr-xr-xtemplates/native/AGLbuild2
-rwxr-xr-xtemplates/service/AGLbuild2
4 files changed, 8 insertions, 0 deletions
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}