]> git.lizzy.rs Git - rust.git/blob - src/bootstrap/mk/Makefile.in
Changed issue number to 36105
[rust.git] / src / bootstrap / mk / Makefile.in
1 # Copyright 20126 The Rust Project Developers. See the COPYRIGHT
2 # file at the top-level directory of this distribution and at
3 # http://rust-lang.org/COPYRIGHT.
4 #
5 # Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 # http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 # <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 # option. This file may not be copied, modified, or distributed
9 # except according to those terms.
10
11 include config.mk
12 include $(CFG_SRC_DIR)mk/util.mk
13
14 ifdef VERBOSE
15 BOOTSTRAP_ARGS := -v
16 else
17 BOOTSTRAP_ARGS :=
18 endif
19
20 BOOTSTRAP := $(CFG_PYTHON) $(CFG_SRC_DIR)src/bootstrap/bootstrap.py $(BOOTSTRAP_ARGS)
21
22 all:
23         $(Q)$(BOOTSTRAP)
24
25 clean:
26         $(Q)$(BOOTSTRAP) --clean
27
28 rustc-stage1:
29         $(Q)$(BOOTSTRAP) --step libtest --stage 1
30 rustc-stage2:
31         $(Q)$(BOOTSTRAP) --step libtest --stage 2
32
33 docs: doc
34 doc:
35         $(Q)$(BOOTSTRAP) --step doc
36 style:
37         $(Q)$(BOOTSTRAP) --step doc-style
38 nomicon:
39         $(Q)$(BOOTSTRAP) --step doc-nomicon
40 book:
41         $(Q)$(BOOTSTRAP) --step doc-book
42 standalone-docs:
43         $(Q)$(BOOTSTRAP) --step doc-standalone
44 check:
45         $(Q)$(BOOTSTRAP) --step check
46 check-cargotest:
47         $(Q)$(BOOTSTRAP) --step check-cargotest
48 dist:
49         $(Q)$(BOOTSTRAP) --step dist
50 tidy:
51         $(Q)$(BOOTSTRAP) --step check-tidy --stage 0
52
53 .PHONY: dist