Skip to content

Commit 948e48c

Browse files
committed
auto merge of rust-lang#108 : jdeseno/cargo/clean-submodules, r=alexcrichton
Small change. Use git's `submodule` `foreach` command to cleanup dependencies. I think this way you won't have to remember to update the makefile when a dependency is added or removed.
2 parents e00e924 + 89e5c0d commit 948e48c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Makefile

+1-3
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,7 @@ clean:
8383
rm -rf target
8484

8585
clean-all: clean
86-
cd libs/hamcrest-rust && make clean
87-
cd libs/hammer.rs && make clean
88-
cd libs/toml-rs && make clean
86+
git submodule foreach make clean
8987

9088
install:
9189
install -d $(DESTDIR)$(BINDIR)

0 commit comments

Comments
 (0)