aboutsummaryrefslogtreecommitdiffstats
path: root/templates/service/AGLbuild
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 /templates/service/AGLbuild
parent44c91357eb31a1dfc1ba012721e98c3d13427f2b (diff)
Updating template to the new AGLbuild script
Change-Id: I3346850bf36797aa6a73db39c630ac5ea668cee5 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'templates/service/AGLbuild')
-rwxr-xr-xtemplates/service/AGLbuild2
1 files changed, 2 insertions, 0 deletions
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}