mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Add Makefile trigger for forcing clean-rust to happen.
This commit is contained in:
parent
870db39836
commit
cfc7491b1f
2 changed files with 10 additions and 1 deletions
|
@ -83,6 +83,7 @@ $(CFG_RUSTC):
|
||||||
|
|
||||||
clean-rust:
|
clean-rust:
|
||||||
$(MAKE) -C "$(CFG_BUILD_DIR)src/compiler/rust" CFG_RUSTC_FLAGS="" RUSTFLAGS="" clean
|
$(MAKE) -C "$(CFG_BUILD_DIR)src/compiler/rust" CFG_RUSTC_FLAGS="" RUSTFLAGS="" clean
|
||||||
|
|
||||||
else
|
else
|
||||||
$(CFG_RUSTC):
|
$(CFG_RUSTC):
|
||||||
|
|
||||||
|
@ -90,6 +91,10 @@ clean-rust:
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
src/compiler/rust-auto-clean-stamp: $(S)src/compiler/rust-auto-clean-trigger
|
||||||
|
$(Q)$(MAKE) clean-rust
|
||||||
|
touch $@
|
||||||
|
|
||||||
rust: $(CFG_RUSTC)
|
rust: $(CFG_RUSTC)
|
||||||
|
|
||||||
# Strip off submodule paths to determine "raw" submodule names.
|
# Strip off submodule paths to determine "raw" submodule names.
|
||||||
|
@ -222,7 +227,7 @@ include $(S)mk/clean.mk
|
||||||
|
|
||||||
.DEFAULT_GOAL := all
|
.DEFAULT_GOAL := all
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
all: servo package
|
all: src/compiler/rust-auto-clean-stamp servo package
|
||||||
|
|
||||||
# Servo helper libraries
|
# Servo helper libraries
|
||||||
|
|
||||||
|
|
4
src/compiler/rust-auto-clean-trigger
Normal file
4
src/compiler/rust-auto-clean-trigger
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
# If this file is modified, then rust will be forcibly cleaned and then rebuilt.
|
||||||
|
# The actual contents of this file do not matter, but to trigger a change on the
|
||||||
|
# build bots then the contents should be changed so git updates the mtime.
|
||||||
|
2013-07-09
|
Loading…
Add table
Add a link
Reference in a new issue