summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/unix
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-08-31 15:32:02 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-08-31 19:16:38 (GMT)
commitf9ddd4e138606ed03f4bb585a9e518e39a5fe611 (patch)
treeb501cbad6c389fd8451e4746213774d441bb7783 /mkspecs/features/unix
parenta37dfcfdaa8029f25217fdec6dd6ec1a46929af2 (diff)
downloadQt-f9ddd4e138606ed03f4bb585a9e518e39a5fe611.zip
Qt-f9ddd4e138606ed03f4bb585a9e518e39a5fe611.tar.gz
Qt-f9ddd4e138606ed03f4bb585a9e518e39a5fe611.tar.bz2
make various POST_LINK steps nicer
put each step into a separate make command. that makes for cleaner output and less troubles with command separators. Reviewed-by: mariusSO
Diffstat (limited to 'mkspecs/features/unix')
-rw-r--r--mkspecs/features/unix/separate_debug_info.prf3
1 files changed, 2 insertions, 1 deletions
diff --git a/mkspecs/features/unix/separate_debug_info.prf b/mkspecs/features/unix/separate_debug_info.prf
index 40d52cb..8843c6d 100644
--- a/mkspecs/features/unix/separate_debug_info.prf
+++ b/mkspecs/features/unix/separate_debug_info.prf
@@ -1,8 +1,9 @@
!separate_debug_info_nocopy:!staticlib:!static:!contains(TEMPLATE, subdirs):!isEmpty(QMAKE_OBJCOPY) {
- QMAKE_SEPARATE_DEBUG_INFO = (test -z \"$(DESTDIR)\" || cd \"$(DESTDIR)\" ; targ=`basename $(TARGET)`; $$QMAKE_OBJCOPY --only-keep-debug \"\$\$targ\" \"\$\$targ.debug\" && $$QMAKE_OBJCOPY --strip-debug \"\$\$targ\" && $$QMAKE_OBJCOPY --add-gnu-debuglink=\"\$\$targ.debug\" \"\$\$targ\" && chmod -x \"\$\$targ.debug\" ) ;
+ QMAKE_SEPARATE_DEBUG_INFO = test -z \"$(DESTDIR)\" || cd \"$(DESTDIR)\" ; targ=`basename $(TARGET)`; $$QMAKE_OBJCOPY --only-keep-debug \"\$\$targ\" \"\$\$targ.debug\" && $$QMAKE_OBJCOPY --strip-debug \"\$\$targ\" && $$QMAKE_OBJCOPY --add-gnu-debuglink=\"\$\$targ.debug\" \"\$\$targ\" && chmod -x \"\$\$targ.debug\"
QMAKE_INSTALL_SEPARATE_DEBUG_INFO = test -z \"$(DESTDIR)\" || cd \"$(DESTDIR)\" ; $(INSTALL_FILE) `basename $(TARGET)`.debug $(INSTALL_ROOT)/\$\$target_path/
+ !isEmpty(QMAKE_POST_LINK):QMAKE_POST_LINK = $$escape_expand(\\n\\t)$$QMAKE_POST_LINK
QMAKE_POST_LINK = $$QMAKE_SEPARATE_DEBUG_INFO $$QMAKE_POST_LINK
silent:QMAKE_POST_LINK = @echo creating $@.debug && $$QMAKE_POST_LINK