Mercurial > mxe-octave
comparison src/qt.mk @ 4209:5f6f60e3db31
qt: on native build, install mkspec and qmake files
* src/qt.mk: install mkspec and qmake
author | John D |
---|---|
date | Thu, 08 Sep 2016 14:34:27 -0400 |
parents | e576d2d5ae70 |
children | c955d4b97330 |
comparison
equal
deleted
inserted
replaced
4208:8198522d93c4 | 4209:5f6f60e3db31 |
---|---|
172 # need to 'install' mkspecs for the native mingw to build during its build | 172 # need to 'install' mkspecs for the native mingw to build during its build |
173 # also need build tools qmake | 173 # also need build tools qmake |
174 if [ "$(MXE_NATIVE_MINGW_BUILD)" = yes ]; then \ | 174 if [ "$(MXE_NATIVE_MINGW_BUILD)" = yes ]; then \ |
175 mkdir -p '$($(PKG)_MKSPECS)'; \ | 175 mkdir -p '$($(PKG)_MKSPECS)'; \ |
176 cp -r '$(1)/mkspecs' '$($(PKG)_MKSPECS)'; \ | 176 cp -r '$(1)/mkspecs' '$($(PKG)_MKSPECS)'; \ |
177 $(INSTALL) -d '$($(PKG)_INSTALL_ROOT)$(BUILD_TOOLS_PREFIX)/bin'; \ | |
177 $(INSTALL) -m755 '$(1)/bin/qmake.exe' '$($(PKG)_INSTALL_ROOT)$(BUILD_TOOLS_PREFIX)/bin/'; \ | 178 $(INSTALL) -m755 '$(1)/bin/qmake.exe' '$($(PKG)_INSTALL_ROOT)$(BUILD_TOOLS_PREFIX)/bin/'; \ |
179 elif [ "$(MXE_NATIVE_BUILD)" = "yes" ]; then \ | |
180 mkdir -p '$($(PKG)_MKSPECS)'; \ | |
181 cp -r '$(1)/mkspecs' '$($(PKG)_MKSPECS)'; \ | |
182 $(INSTALL) -d '$($(PKG)_INSTALL_ROOT)$(BUILD_TOOLS_PREFIX)/bin'; \ | |
183 $(INSTALL) $(1)/bin/qmake '$($(PKG)_INSTALL_ROOT)$(BUILD_TOOLS_PREFIX)/bin/'; \ | |
178 fi | 184 fi |
179 | 185 |
180 # compilation under MSVC requires the use of NMAKE, which does not | 186 # compilation under MSVC requires the use of NMAKE, which does not |
181 # support the -j option flag and is perturbed by GNU make values for | 187 # support the -j option flag and is perturbed by GNU make values for |
182 # MAKE and MAKEFLAGS; also remove unnecessary DLL installed in lib/ | 188 # MAKE and MAKEFLAGS; also remove unnecessary DLL installed in lib/ |