Skip to content

Commit eee8676

Browse files
committed
---
yaml --- r: 108377 b: refs/heads/dist-snap c: 508cb29 h: refs/heads/master i: 108375: d433733 v: v3
1 parent 161c46e commit eee8676

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
@@ -6,7 +6,7 @@ refs/heads/try: f64fdf524a434f0e5cd0bc91d09c144723f3c90d
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/dist-snap: 8f2bee21170c3e85c47474009314684198724b0c
9+
refs/heads/dist-snap: 508cb29dc4358a625afaa83dce8a9853864999f2
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1212
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/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

branches/dist-snap/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)

branches/dist-snap/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)