Skip to content

Commit 997a80c

Browse files
committed
---
yaml --- r: 101910 b: refs/heads/master c: 508cb29 h: refs/heads/master v: v3
1 parent 2735b54 commit 997a80c

File tree

4 files changed

+18
-5
lines changed

4 files changed

+18
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 8f2bee21170c3e85c47474009314684198724b0c
2+
refs/heads/master: 508cb29dc4358a625afaa83dce8a9853864999f2
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 6e7f170fedd3c526a643c0b2d13863acd982be02
55
refs/heads/try: a97642026c18a624ff6ea01075dd9550f8ed07ff

trunk/Makefile.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ endif
222222

223223
# Copy all the distributables to another directory for binary install
224224
ifneq ($(strip $(findstring prepare,$(MAKECMDGOALS)) \
225+
$(findstring dist,$(MAKECMDGOALS)) \
225226
$(findstring install,$(MAKECMDGOALS))),)
226227
CFG_INFO := $(info cfg: including prepare rules)
227228
include $(CFG_SRC_DIR)mk/prepare.mk

trunk/mk/dist.mk

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,24 @@ LICENSE.txt: $(S)COPYRIGHT $(S)LICENSE-APACHE $(S)LICENSE-MIT
5252
cp $< $@
5353

5454
$(PKG_EXE): rust.iss modpath.iss LICENSE.txt rust-logo.ico \
55-
$(PKG_FILES) $(CSREQ3_T_$(CFG_BUILD)_H_$(CFG_BUILD))
56-
$(CFG_PYTHON) $(S)src/etc/copy-runtime-deps.py i686-pc-mingw32/stage3/bin
55+
$(PKG_FILES) $(CSREQ3_T_$(CFG_BUILD)_H_$(CFG_BUILD)) \
56+
dist-prepare-win
57+
$(CFG_PYTHON) $(S)src/etc/copy-runtime-deps.py tmp/dist/win/bin
5758
@$(call E, ISCC: $@)
5859
$(Q)"$(CFG_ISCC)" $<
59-
endif
6060

61+
dist-prepare-win: PREPARE_HOST=$(CFG_BUILD)
62+
dist-prepare-win: PREPARE_TARGETS=$(CFG_BUILD)
63+
dist-prepare-win: PREPARE_DEST_DIR=tmp/dist/win
64+
# On windows we're using stage3, unlike Unix...
65+
dist-prepare-win: PREPARE_STAGE=3
66+
dist-prepare-win: PREPARE_DIR_CMD=$(DEFAULT_PREPARE_DIR_CMD)
67+
dist-prepare-win: PREPARE_BIN_CMD=$(DEFAULT_PREPARE_BIN_CMD)
68+
dist-prepare-win: PREPARE_LIB_CMD=$(DEFAULT_PREPARE_LIB_CMD)
69+
dist-prepare-win: PREPARE_MAN_CMD=$(DEFAULT_PREPARE_MAN_CMD)
70+
dist-prepare-win: prepare-base
71+
72+
endif
6173

6274
$(PKG_TAR): $(PKG_FILES)
6375
@$(call E, making dist dir)

trunk/src/etc/pkg/rust.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Uninstallable=yes
3636
Name: modifypath; Description: &Add {app}\bin to your PATH (recommended)
3737

3838
[Files]
39-
Source: "i686-pc-mingw32/stage3/*.*" ; DestDir: "{app}"; Flags: ignoreversion recursesubdirs
39+
Source: "tmp/dist/win/*.*" ; DestDir: "{app}"; Flags: ignoreversion recursesubdirs
4040

4141
[Code]
4242
const

0 commit comments

Comments
 (0)