File tree Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: eb811a903fb1856203a8e2233efe50cd36d2e5b4
2
+ refs/heads/master: 0a8f9a394bd3aa509ad313334daa78686bc4d817
Original file line number Diff line number Diff line change @@ -49,10 +49,12 @@ CFG_RUSTCLIB :=$(call CFG_LIB_NAME,rustc)
49
49
# version-string calculation
50
50
CFG_GIT_DIR := $(CFG_SRC_DIR ) .git
51
51
CFG_VERSION := prerelease
52
+ ifneq ($(wildcard $(CFG_GIT ) ) ,)
52
53
ifneq ($(wildcard $(CFG_GIT_DIR ) ) ,)
53
54
CFG_VERSION += $(shell git --git-dir=$(CFG_GIT_DIR ) log -1 \
54
55
--pretty=format:'(% h % ci) ')
55
56
endif
57
+ endif
56
58
57
59
ifdef CFG_DISABLE_VALGRIND
58
60
$(info cfg : disabling valgrind (CFG_DISABLE_VALGRIND))
Original file line number Diff line number Diff line change @@ -193,11 +193,11 @@ putvar CFG_CPUTYPE
193
193
putvar CFG_CONFIGURE_ARGS
194
194
195
195
step_msg " looking for build programs"
196
- probe_need CFG_GIT git
197
196
probe_need CFG_PERL perl
198
197
probe_need CFG_PYTHON python
199
198
probe_need CFG_CURL curl
200
199
200
+ probe CFG_GIT git
201
201
probe CFG_CLANG clang++
202
202
probe CFG_GCC gcc
203
203
probe CFG_LLVM_CONFIG llvm-config
Original file line number Diff line number Diff line change 3
3
# #####################################################################
4
4
5
5
doc/version.texi : $(MKFILES ) rust.texi
6
- (cd $( S) && git log -1 \
7
- --pretty =format:'@macro gitversion%n%h %ci%n@end macro%n') >$@
6
+ echo " @macro gitversion" > $@
7
+ echo $(CFG_VERSION ) >> $@
8
+ echo " @end macro" >> $@
8
9
9
10
doc/% .pdf : % .texi doc/version.texi
10
11
texi2pdf --batch -I doc -o $@ --clean $<
You can’t perform that action at this time.
0 commit comments