File tree Expand file tree Collapse file tree 4 files changed +18
-5
lines changed Expand file tree Collapse file tree 4 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ refs/heads/try: f64fdf524a434f0e5cd0bc91d09c144723f3c90d
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9
- refs/heads/dist-snap: 8f2bee21170c3e85c47474009314684198724b0c
9
+ refs/heads/dist-snap: 508cb29dc4358a625afaa83dce8a9853864999f2
10
10
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
11
11
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
12
12
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
Original file line number Diff line number Diff line change @@ -222,6 +222,7 @@ endif
222
222
223
223
# Copy all the distributables to another directory for binary install
224
224
ifneq ($(strip $(findstring prepare,$(MAKECMDGOALS ) ) \
225
+ $(findstring dist,$(MAKECMDGOALS ) ) \
225
226
$(findstring install,$(MAKECMDGOALS ) ) ) ,)
226
227
CFG_INFO := $(info cfg: including prepare rules)
227
228
include $(CFG_SRC_DIR ) mk/prepare.mk
Original file line number Diff line number Diff line change @@ -52,12 +52,24 @@ LICENSE.txt: $(S)COPYRIGHT $(S)LICENSE-APACHE $(S)LICENSE-MIT
52
52
cp $< $@
53
53
54
54
$(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
57
58
@$(call E, ISCC: $@)
58
59
$(Q)"$(CFG_ISCC)" $<
59
- endif
60
60
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
61
73
62
74
$(PKG_TAR ) : $(PKG_FILES )
63
75
@$(call E, making dist dir)
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ Uninstallable=yes
36
36
Name : modifypath; Description : &Add {app} \bin to your PATH (recommended)
37
37
38
38
[Files]
39
- Source : " i686-pc-mingw32/stage3 /*.*" ; DestDir : " {app} " ; Flags : ignoreversion recursesubdirs
39
+ Source : " tmp/dist/win /*.*" ; DestDir : " {app} " ; Flags : ignoreversion recursesubdirs
40
40
41
41
[Code]
42
42
const
You can’t perform that action at this time.
0 commit comments