From cfc7491b1f1c2c49472da07f6f97c7ef9f1f165e Mon Sep 17 00:00:00 2001 From: Jack Moffitt Date: Tue, 9 Jul 2013 16:26:33 -0600 Subject: [PATCH] Add Makefile trigger for forcing clean-rust to happen. --- Makefile.in | 7 ++++++- src/compiler/rust-auto-clean-trigger | 4 ++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 src/compiler/rust-auto-clean-trigger diff --git a/Makefile.in b/Makefile.in index b2ad90cb475..242e15aa7d7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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 diff --git a/src/compiler/rust-auto-clean-trigger b/src/compiler/rust-auto-clean-trigger new file mode 100644 index 00000000000..0ca4dcbb9d6 --- /dev/null +++ b/src/compiler/rust-auto-clean-trigger @@ -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