Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-54035

qmake Makefile generator creates corrupt Makefiles with more than one target

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.6.1
    • Fix Version/s: 5.6.2
    • Component/s: Build System
    • Labels:
      None
    • Commits:
      05bd88bdd86b8204623ef4719cbe244d391edeac

      Description

      Snippet of the corrupt Makefile:

      ####### Install
      
      install_target: first FORCE
      	@test -d $(INSTALL_ROOT)/usr/local/Cellar/qt5/5.6.1/lib || mkdir -p $(INSTALL_ROOT)/usr/local/Cellar/qt5/5.6.1/lib
      	-$(INSTALL_FILE) /private/tmp/qt5-20160610-71530-2j9uu7/qt-everywhere-opensource-src-5.6.1/qtbase/lib/QtCore.framework.dSYM/Contents/Resources/DWARF/QtCore $(INSTALL_ROOT)/usr/local/Cellar/qt5/5.6.1/lib/QtCore@test -d "`dirname $(INSTALL_ROOT)/usr/local/Cellar/qt5/5.6.1/lib/QtCore.framework/Versions/5/$(TARGET)`" || mkdir -p "`dirname $(INSTALL_ROOT)/usr/local/Cellar/qt5/5.6.1/lib/QtCore.framework/Versions/5/$(TARGET)`"
      	
      	-$(INSTALL_PROGRAM) ../../lib/QtCore.framework/Versions/5/$(TARGET) $(INSTALL_ROOT)/usr/local/Cellar/qt5/5.6.1/lib/QtCore.framework/Versions/5/$(TARGET)
      	@test -d "`dirname $(INSTALL_ROOT)/usr/local/Cellar/qt5/5.6.1/lib/QtCore.framework/$(TARGET)`" || mkdir -p "`dirname $(INSTALL_ROOT)/usr/local/Cellar/qt5/5.6.1/lib/QtCore.framework/$(TARGET)`"
      	-$(DEL_FILE) $(INSTALL_ROOT)/usr/local/Cellar/qt5/5.6.1/lib/QtCore.framework/$(TARGET)
      	-$(INSTALL_DIR) ../../lib/QtCore.framework/$(TARGET) $(INSTALL_ROOT)/usr/local/Cellar/qt5/5.6.1/lib/QtCore.framework/$(TARGET)
      	@test -d "`dirname $(INSTALL_ROOT)/usr/local/Cellar/qt5/5.6.1/lib/QtCore.framework/Versions/5/Resources/Info.plist`" || mkdir -p "`dirname $(INSTALL_ROOT)/usr/local/Cellar/qt5/5.6.1/lib/QtCore.framework/Versions/5/Resources/Info.plist`"
      	-$(DEL_FILE) $(INSTALL_ROOT)/usr/local/Cellar/qt5/5.6.1/lib/QtCore.framework/Versions/5/Resources/Info.plist
      	-$(INSTALL_DIR) ../../lib/QtCore.framework/Versions/5/Resources/Info.plist $(INSTALL_ROOT)/usr/local/Cellar/qt5/5.6.1/lib/QtCore.framework/Versions/5/Resources/Info.plist
      	@test -d "`dirname $(INSTALL_ROOT)/usr/local/Cellar/qt5/5.6.1/lib/QtCore.framework/Versions/5/Headers/qabstractanimation.h`" || mkdir -p "`dirname $(INSTALL_ROOT)/usr/local/Cellar/qt5/5.6.1/lib/QtCore.framework/Versions/5/Headers/qabstractanimation.h`"
      	-$(DEL_FILE) $(INSTALL_ROOT)/usr/local/Cellar/qt5/5.6.1/lib/QtCore.framework/Versions/5/Headers/qabstractanimation.h

      Note how the INSTALL_FILE and test commands are not properly separated by a \n\t.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
              Reporter:
              jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes