]>
Commit | Line | Data |
---|---|---|
7453a54e SL |
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 | docs: doc | |
29 | doc: | |
30 | $(Q)$(BOOTSTRAP) --step doc | |
31 | style: | |
32 | $(Q)$(BOOTSTRAP) --step doc-style | |
33 | nomicon: | |
34 | $(Q)$(BOOTSTRAP) --step doc-nomicon | |
35 | book: | |
36 | $(Q)$(BOOTSTRAP) --step doc-book | |
37 | standalone-docs: | |
38 | $(Q)$(BOOTSTRAP) --step doc-standalone | |
54a0048b SL |
39 | check: |
40 | $(Q)$(BOOTSTRAP) --step check | |
41 | check-cargotest: | |
42 | $(Q)$(BOOTSTRAP) --step check-cargotest | |
43 | dist: | |
44 | $(Q)$(BOOTSTRAP) --step dist | |
45 | ||
46 | .PHONY: dist |