refs #1000 trying to make .pro files package configlets correctly

This commit is contained in:
Vadim Kurland
2009-12-24 00:07:59 +00:00
parent f33879142d
commit b8c0ac59ae
3 changed files with 9 additions and 24 deletions
+1 -1
View File
@@ -1 +1 @@
#define BUILD_NUM 2261
#define BUILD_NUM 2262
+4 -7
View File
@@ -50,14 +50,11 @@ unix {
datadir.path = @DATADIR@
res.path = @RES_DIR@
res_os.path = @RES_DIR@/os/
res_platform.path = @RES_DIR@/platform/
res_os.path = $$res.path/os/
res_platform.path = $$res.path/platform/
res_help_C.path = $$res.path/help/C
res_help_en_US.path = $$res.path/help/en_US
res_desktop.path = @DATADIR@/applications/
res_help_C.path = @RES_DIR@/help/C
res_help_en_US.path = @RES_DIR@/help/en_US
res_configlets_linux24.path = @RES_DIR@/configlets/linux24
res_configlets_ipcop.path = @RES_DIR@/configlets/ipcop
res_configlets_sveasoft.path = @RES_DIR@/configlets/sveasoft
INSTALLS += res
INSTALLS += res_os
+4 -16
View File
@@ -30,22 +30,10 @@ res_os.files = os/*.xml
res_platform.files = platform/*.xml
res_help_en_US.files = help/en_US/*.html help/en_US/*.png help/en_US/*.jpg
#dirs = $$system("ls configlets")
#for(dir, dirs) {
# message($${dir})
# $${configlet$${dir}}.files = $$system("ls configlets/$$dir/*")
# message($$configlet$$dir.files)
# $${configlet$${dir}}.path = $$PREFIX/resources/configlets/$$dir
# message($$configlet$${dir}.path)
# configlet$${dir}.path = $$PREFIX/resources/configlets/$$dir
# configlet\$\$\{dir\}.path = $$PREFIX/resources/configlets/$$dir
# INSTALLS += configlet$${dir}
#}
res_configlets.path = $$PREFIX/resources/configlets
unix:res_configlets.commands = tar cf - --exclude .svn {*.xml,os/*.xml,platform/*.xml,help,configlets} | \
tar -C $${PREFIX}/resources/ -xf -
unix {
res_configlets.path = $$res.path/configlets
res_configlets.files = $$system(find configlets/* -path \'*/.svn*\' -prune -o -type d -print)
}
INSTALLS -= target
INSTALLS += res