Add Makefile trigger for forcing clean-rust to happen.

This commit is contained in:
Jack Moffitt 2013-07-09 16:26:33 -06:00
parent 870db39836
commit cfc7491b1f
2 changed files with 10 additions and 1 deletions

View file

@ -83,6 +83,7 @@ $(CFG_RUSTC):
clean-rust:
$(MAKE) -C "$(CFG_BUILD_DIR)src/compiler/rust" CFG_RUSTC_FLAGS="" RUSTFLAGS="" clean
else
$(CFG_RUSTC):
@ -90,6 +91,10 @@ clean-rust:
endif
src/compiler/rust-auto-clean-stamp: $(S)src/compiler/rust-auto-clean-trigger
$(Q)$(MAKE) clean-rust
touch $@
rust: $(CFG_RUSTC)
# Strip off submodule paths to determine "raw" submodule names.
@ -222,7 +227,7 @@ include $(S)mk/clean.mk
.DEFAULT_GOAL := all
.PHONY: all
all: servo package
all: src/compiler/rust-auto-clean-stamp servo package
# Servo helper libraries

View 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