]>
git.proxmox.com Git - rustc.git/blob - 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.
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.
12 include $(CFG_SRC_DIR
)mk
/util.mk
20 BOOTSTRAP
:= $(CFG_PYTHON
) $(CFG_SRC_DIR
)src
/bootstrap
/bootstrap.py
23 $(Q
)$(BOOTSTRAP
) build
$(BOOTSTRAP_ARGS
)
24 $(Q
)$(BOOTSTRAP
) doc
$(BOOTSTRAP_ARGS
)
26 # Don’t use $(Q) here, always show how to invoke the bootstrap script directly
31 $(Q
)$(BOOTSTRAP
) clean $(BOOTSTRAP_ARGS
)
34 $(Q
)$(BOOTSTRAP
) build
--stage
1 src
/libtest
$(BOOTSTRAP_ARGS
)
36 $(Q
)$(BOOTSTRAP
) build
--stage
2 src
/libtest
$(BOOTSTRAP_ARGS
)
40 $(Q
)$(BOOTSTRAP
) doc
$(BOOTSTRAP_ARGS
)
42 $(Q
)$(BOOTSTRAP
) doc src
/doc
/nomicon
$(BOOTSTRAP_ARGS
)
44 $(Q
)$(BOOTSTRAP
) doc src
/doc
/book
$(BOOTSTRAP_ARGS
)
46 $(Q
)$(BOOTSTRAP
) doc src
/doc
$(BOOTSTRAP_ARGS
)
48 $(Q
)$(BOOTSTRAP
) test $(BOOTSTRAP_ARGS
)
50 $(Q
)$(BOOTSTRAP
) test src
/tools
/cargotest
$(BOOTSTRAP_ARGS
)
52 $(Q
)$(BOOTSTRAP
) dist $(BOOTSTRAP_ARGS
)
54 ifeq (root user
, $(USER
) $(patsubst %,user
,$(SUDO_USER
)))
55 $(Q
)echo
"'sudo make install' is not supported currently."
57 $(Q
)$(BOOTSTRAP
) dist --install $(BOOTSTRAP_ARGS
)
60 $(Q
)$(BOOTSTRAP
) test src
/tools
/tidy
$(BOOTSTRAP_ARGS
)