diff options
| author | bors <bors@rust-lang.org> | 2015-10-23 23:28:53 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-10-23 23:28:53 +0000 |
| commit | 1210fb9bc61b351cb0441cc48dac9e18987fb88b (patch) | |
| tree | 0d78430c5994f6fca49fce75232c8026b7f76bb3 | |
| parent | 525ab4a4139f32732f222d39f5cc00ad08951910 (diff) | |
| parent | 451b9591797be9b19cacc75f1a4f793da4fca654 (diff) | |
| download | rust-1210fb9bc61b351cb0441cc48dac9e18987fb88b.tar.gz rust-1210fb9bc61b351cb0441cc48dac9e18987fb88b.zip | |
Auto merge of #29255 - alexcrichton:really-fix, r=brson
The macro in question doesn't actually have a $(2) argument so $(1) should really be used as it's the target in question.
| -rw-r--r-- | mk/dist.mk | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/mk/dist.mk b/mk/dist.mk index a4c2c6b4738..55c45d2c544 100644 --- a/mk/dist.mk +++ b/mk/dist.mk @@ -154,21 +154,21 @@ dist/$$(PKG_NAME)-$(1).tar.gz: dist-install-dir-$(1)-host prepare-overlay-$(1) # to include. THe first argument to `make-win-dist` is where to put these DLLs # (the image we're creating) and the second argument is a junk directory to # ignore all the other MinGW stuff the script creates. -ifeq ($(2),i686-pc-windows-gnu) - $$(Q)rm -Rf tmp/dist/win-rust-gcc-$(2) +ifeq ($(1),i686-pc-windows-gnu) + $$(Q)rm -Rf tmp/dist/win-rust-gcc-$(1) $$(Q)$$(CFG_PYTHON) $$(S)src/etc/make-win-dist.py \ - tmp/dist/$$(PKG_NAME)-$(2)-image \ - tmp/dist/win-rust-gcc-$(2) $(2) + tmp/dist/$$(PKG_NAME)-$(1)-image \ + tmp/dist/win-rust-gcc-$(1) $(1) endif # On 32-bit MinGW we're always including a DLL which needs some extra licenses # to distribute. On 64-bit MinGW we don't actually distribute anything requiring # us to distribute a license but it's likely that the install will *also* # include the rust-mingw package down below, which also need licenses, so to be # safe we just inlude it here in all MinGW packages. -ifdef CFG_WINDOWSY_$(2) -ifeq ($$(findstring $(2),gnu),gnu) +ifdef CFG_WINDOWSY_$(1) +ifeq ($$(findstring $(1),gnu),gnu) $$(Q)cp -r $$(S)src/etc/third-party \ - tmp/dist/$$(PKG_NAME)-$(2)-image/share/doc/ + tmp/dist/$$(PKG_NAME)-$(1)-image/share/doc/ endif endif $$(Q)$$(S)src/rust-installer/gen-installer.sh \ |
