summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-13 13:44:23 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-10-15 18:22:20 +0200
commitbe34a0d145bb3b86cc91d3181465e32547688bc6 (patch)
tree93d8081a619d5e48f3086ab1bf039567b1ca63e1
parent06660e9d7214f6096c09f246775cc3c8e9c30ff7 (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}