We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8d9adf commit f052d9bCopy full SHA for f052d9b
Makefile.in
@@ -407,8 +407,8 @@ endif
407
408
boot/version.ml: $(MKFILES)
409
@$(call E, git: $@)
410
- $(Q)git log -1 \
411
- --pretty=format:'let version = "prerelease (%h %ci)";;' >$@ || exit 1
+ $(Q)(cd $(S) && git log -1 \
+ --pretty=format:'let version = "prerelease (%h %ci)";;') >$@ || exit 1
412
413
414
@@ -501,8 +501,8 @@ rustllvm/%.o: rustllvm/%.cpp $(MKFILES)
501
######################################################################
502
503
doc/version.texi: $(MKFILES) rust.texi
504
- git log -1 \
505
- --pretty=format:'@macro gitversion%n%h %ci%n@end macro%n' >$@
+ (cd $(S) && git log -1 \
+ --pretty=format:'@macro gitversion%n%h %ci%n@end macro%n') >$@
506
507
doc/%.pdf: %.texi doc/version.texi
508
texi2pdf -I doc -o $@ --clean $<
0 commit comments