mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Fix deployment: make isn't expanding $(DESTDIR_TARGET) for me
I don't know why. Working around the issue by using $^ (all dependencies) and listing the files to be processed as dependencies for the rule. Signed-off-by: Thiago Macieira <thiago@macieira.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									c684df4976
								
							
						
					
					
						commit
						fa532f0f28
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -55,16 +55,16 @@ mac {
 | 
			
		|||
    !win32-msvc* {
 | 
			
		||||
        #!equals($$QMAKE_HOST.os, "Windows"): dlls.commands += OBJDUMP=`$$QMAKE_CC -dumpmachine`-objdump
 | 
			
		||||
        dlls.commands += PATH=\$\$PATH:`$$QMAKE_CC -print-search-dirs | sed -nE \'/^libraries: =/{s///;s,/lib/?(:|\$\$),/bin\\1,g;p;q;}\'`
 | 
			
		||||
        dlls.commands += perl $$PWD/scripts/win-ldd.pl $(DESTDIR_TARGET)
 | 
			
		||||
        dlls.commands += perl $$PWD/scripts/win-ldd.pl \$^
 | 
			
		||||
 | 
			
		||||
        for(plugin, $$list($$DEPLOYMENT_PLUGIN)) {
 | 
			
		||||
            CONFIG(debug, debug|release): dlls.commands += $$[QT_INSTALL_PLUGINS]/$${plugin}d4.dll
 | 
			
		||||
            else: dlls.commands += $$[QT_INSTALL_PLUGINS]/$${plugin}4.dll
 | 
			
		||||
            CONFIG(debug, debug|release): dlls.depends += $$[QT_INSTALL_PLUGINS]/$${plugin}d4.dll
 | 
			
		||||
            else: dlls.depends += $$[QT_INSTALL_PLUGINS]/$${plugin}4.dll
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        dlls.commands += $$LIBS
 | 
			
		||||
        dlls.commands += | while read name; do $(INSTALL_FILE) \$\$name $$PWD/$$WINDOWSSTAGING; done
 | 
			
		||||
        dlls.depends = $(DESTDIR_TARGET)
 | 
			
		||||
        dlls.depends += $(DESTDIR_TARGET)
 | 
			
		||||
        install.depends += dlls
 | 
			
		||||
    }
 | 
			
		||||
} else {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue