09c7a0188fae6fba52183add595495a38723ddf7
[apps/homescreen.git] / package / package.pro
1 DISTFILES = icon.svg config.xml
2
3 copy_icon.target = $$OUT_PWD/root/icon.svg
4 copy_icon.depends = $$_PRO_FILE_PWD_/icon.svg
5 copy_icon.commands = $(COPY_FILE) \"$$replace(copy_icon.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_icon.target, /, $$QMAKE_DIR_SEP)\"
6 QMAKE_EXTRA_TARGETS += copy_icon
7 PRE_TARGETDEPS += $$copy_icon.target
8
9 copy_config.target = $$OUT_PWD/root/config.xml
10 copy_config.depends = $$_PRO_FILE_PWD_/config.xml
11 copy_config.commands = $(COPY_FILE) \"$$replace(copy_config.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_config.target, /, $$QMAKE_DIR_SEP)\"
12 QMAKE_EXTRA_TARGETS += copy_config
13 PRE_TARGETDEPS += $$copy_config.target
14
15 wgt.target = package
16 wgt.commands = wgtpkg-pack -f -o homescreen.wgt root
17
18 QMAKE_EXTRA_TARGETS += wgt
19
20 deploy.files = homescreen.wgt
21 deploy.path = /usr/AGL/apps/autoinstall
22 INSTALLS += deploy