diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2013-10-07 14:23:40 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2013-10-16 22:03:05 +0200 |
commit | fd97e70698295d5b226ddb0cfc2cac589b404e5f (patch) | |
tree | d21c2013f3e25507576cd3c0d5ffecc8ab04280b /Makefile | |
parent | fcec472b8f842ba645638ff49c31112677d05242 (diff) | |
download | qtchooser-fd97e70698295d5b226ddb0cfc2cac589b404e5f.tar.gz qtchooser-fd97e70698295d5b226ddb0cfc2cac589b404e5f.tar.bz2 qtchooser-fd97e70698295d5b226ddb0cfc2cac589b404e5f.zip |
Add support for Mac-specific tools to qtchooserupstream/31
Change-Id: I510ff1b560f5229497ad10632607590ee98b831d
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -36,6 +36,8 @@ TOOLS = assistant \ # keep the above line empty +MACTOOLS = macdeployqt + all: cd src/qtchooser && $(MAKE) @@ -50,10 +52,16 @@ distclean: install: cd src/qtchooser && $(MAKE) install for tool in $(TOOLS); do ln -sf qtchooser "$(INSTALL_ROOT)$(bindir)/$$tool"; done + case `uname -s` in Darwin) \ + for tool in $(MACTOOLS); do ln -sf qtchooser "$(INSTALL_ROOT)$(bindir)/$$tool"; done \ + ;; esac uninstall: cd src/qtchooser && $(MAKE) uninstall -for tool in $(TOOLS); do rm -f "$(INSTALL_ROOT)$(bindir)/$$tool"; done + case `uname -s` in Darwin) \ + for tool in $(MACTOOLS); do rm -f "$(INSTALL_ROOT)$(bindir)/$$tool"; done \ + ;; esac tests/auto/Makefile: tests/auto/auto.pro cd tests/auto && qmake -o Makefile auto.pro |