Try to make output less noisy.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-08-21 20:01:07 +03:00
parent fb5a9c64b2
commit 50e3e4e9d7
2 changed files with 1 additions and 13 deletions

View File

@ -66,12 +66,9 @@ defineTest(copyToDestdir) {
DDIR = $$2 DDIR = $$2
mkpath($$DDIR) mkpath($$DDIR)
message("----------------------------------------------begin------------------------------------------------")
message("Copy to" $$DDIR "after link")
for(FILE, files) { for(FILE, files) {
unix{ unix{
QMAKE_POST_LINK += ln -s -f $$quote($$FILE) $$quote($$DDIR/$$basename(FILE)) $$escape_expand(\\n\\t) QMAKE_POST_LINK += ln -s -f $$quote($$FILE) $$quote($$DDIR/$$basename(FILE)) $$escape_expand(\\n\\t)
message("Command:" ln -s -f $$quote($$FILE) $$quote($$DDIR/$$basename(FILE)))
} else { } else {
!exists($$DDIR/$$basename(FILE)) { !exists($$DDIR/$$basename(FILE)) {
# Replace slashes in paths with backslashes for Windows # Replace slashes in paths with backslashes for Windows
@ -80,9 +77,6 @@ defineTest(copyToDestdir) {
DDIR ~= s,/,\\,g DDIR ~= s,/,\\,g
} }
QMAKE_POST_LINK += $$VCOPY $$quote($$FILE) $$quote($$DDIR) $$escape_expand(\\n\\t) QMAKE_POST_LINK += $$VCOPY $$quote($$FILE) $$quote($$DDIR) $$escape_expand(\\n\\t)
message("Command:" $$VCOPY $$quote($$FILE) $$quote($$DDIR))
} else {
message("File:" $$DDIR/$$basename(FILE) "already exist")
} }
QMAKE_CLEAN += $$DDIR/$$basename(FILE) QMAKE_CLEAN += $$DDIR/$$basename(FILE)
@ -91,7 +85,6 @@ defineTest(copyToDestdir) {
export(QMAKE_POST_LINK) export(QMAKE_POST_LINK)
export(QMAKE_CLEAN) export(QMAKE_CLEAN)
message("----------------------------------------------end---------------------------------------------------")
} }
# Alwayse copies the given files to the destination directory # Alwayse copies the given files to the destination directory
@ -100,12 +93,9 @@ defineTest(forceCopyToDestdir) {
DDIR = $$2 DDIR = $$2
mkpath($$DDIR) mkpath($$DDIR)
message("----------------------------------------------begin------------------------------------------------")
message("Copy to" $$DDIR "after link")
for(FILE, files) { for(FILE, files) {
unix{ unix{
QMAKE_POST_LINK += ln -s -f $$quote($$FILE) $$quote($$DDIR/$$basename(FILE)) $$escape_expand(\\n\\t) QMAKE_POST_LINK += ln -s -f $$quote($$FILE) $$quote($$DDIR/$$basename(FILE)) $$escape_expand(\\n\\t)
message("Command:" ln -s -f $$quote($$FILE) $$quote($$DDIR/$$basename(FILE)))
} else { } else {
# Replace slashes in paths with backslashes for Windows # Replace slashes in paths with backslashes for Windows
win32{ win32{
@ -113,14 +103,12 @@ defineTest(forceCopyToDestdir) {
DDIR ~= s,/,\\,g DDIR ~= s,/,\\,g
} }
QMAKE_POST_LINK += $$VCOPY $$quote($$FILE) $$quote($$DDIR) $$escape_expand(\\n\\t) QMAKE_POST_LINK += $$VCOPY $$quote($$FILE) $$quote($$DDIR) $$escape_expand(\\n\\t)
message("Command:" $$VCOPY $$quote($$FILE) $$quote($$DDIR))
QMAKE_CLEAN += $$DDIR/$$basename(FILE) QMAKE_CLEAN += $$DDIR/$$basename(FILE)
} }
} }
export(QMAKE_POST_LINK) export(QMAKE_POST_LINK)
export(QMAKE_CLEAN) export(QMAKE_CLEAN)
message("----------------------------------------------end---------------------------------------------------")
} }
# We use precompiled headers for more fast compilation source code. # We use precompiled headers for more fast compilation source code.

View File

@ -58,7 +58,7 @@ for(_translation_name, INSTALL_TRANSLATIONS) {
_translation_name_ts = $$section(_translation_name_qm, ".", 0, 0).ts _translation_name_ts = $$section(_translation_name_qm, ".", 0, 0).ts
!exists($$_translation_name) { !exists($$_translation_name) {
system($$shell_path($$[QT_INSTALL_BINS]/$$LRELEASE) $$shell_path($${TRANSLATIONS_PATH}/$$_translation_name_ts) -qm $$shell_path($$_translation_name)) system($$shell_path($$[QT_INSTALL_BINS]/$$LRELEASE) -silent $$shell_path($${TRANSLATIONS_PATH}/$$_translation_name_ts) -qm $$shell_path($$_translation_name))
unix { unix {
exists($${OUT_PWD}/$$DESTDIR/valentina) { exists($${OUT_PWD}/$$DESTDIR/valentina) {
system(rm -fv $${OUT_PWD}/$$DESTDIR/valentina) # force to call linking system(rm -fv $${OUT_PWD}/$$DESTDIR/valentina) # force to call linking