debuggers.hg
changeset 3271:e6337ed51082
bitkeeper revision 1.1159.187.49 (41aede81IBQOThmH0W0AYSHb2Gt7sA)
Split out install targets in root Makefile.
Split out install targets in root Makefile.
author | kaf24@scramble.cl.cam.ac.uk |
---|---|
date | Thu Dec 02 09:21:05 2004 +0000 (2004-12-02) |
parents | 9035b6656818 |
children | e48a7b2e78e8 |
files | Makefile |
line diff
1.1 --- a/Makefile Wed Dec 01 13:25:22 2004 +0000 1.2 +++ b/Makefile Thu Dec 02 09:21:05 2004 +0000 1.3 @@ -19,10 +19,30 @@ export INSTALL_DIR 1.4 include buildconfigs/Rules.mk 1.5 1.6 .PHONY: all dist install xen tools kernels docs world clean mkpatches mrproper 1.7 -.PHONY: kbuild kdelete kclean 1.8 +.PHONY: kbuild kdelete kclean install_tools install_xen install_docs 1.9 +.PHONY: install_kernel 1.10 1.11 all: dist 1.12 1.13 +# install everything into the standard system directories 1.14 +# NB: install explicitly does not check that everything is up to date! 1.15 +install: install_tools install_xen install_kernels install_docs 1.16 + 1.17 +install_xen: 1.18 + $(MAKE) -C xen install 1.19 + 1.20 +install_tools: 1.21 + $(MAKE) -C tools install 1.22 + 1.23 +install_kernels: 1.24 + $(shell cp -a $(INSTALL_DIR)/boot/* /boot/) 1.25 + $(shell cp -a $(INSTALL_DIR)/lib/modules/* /lib/modules/) 1.26 + $(shell cp -dR $(INSTALL_DIR)/boot/*$(LINUX_VER)* $(prefix)/boot/) 1.27 + $(shell cp -dR $(INSTALL_DIR)/lib/modules/* $(prefix)/lib/modules/) 1.28 + 1.29 +install_docs: 1.30 + sh ./docs/check_pkgs && $(MAKE) -C docs install || true 1.31 + 1.32 # build and install everything into local dist directory 1.33 dist: xen tools kernels docs 1.34 install -m0644 ./COPYING $(DIST_DIR) 1.35 @@ -31,17 +51,6 @@ dist: xen tools kernels docs 1.36 mkdir -p $(DIST_DIR)/check 1.37 install -m0755 tools/check/chk tools/check/check_* $(DIST_DIR)/check 1.38 1.39 -# install everything into the standard system directories 1.40 -# NB: install explicitly does not check that everything is up to date! 1.41 -install: 1.42 - $(MAKE) -C xen install 1.43 - $(MAKE) -C tools install 1.44 - $(shell cp -a $(INSTALL_DIR)/boot/* /boot/) 1.45 - $(shell cp -a $(INSTALL_DIR)/lib/modules/* /lib/modules/) 1.46 - sh ./docs/check_pkgs && $(MAKE) -C docs install || true 1.47 - $(shell cp -dR $(INSTALL_DIR)/boot/*$(LINUX_VER)* $(prefix)/boot/) 1.48 - $(shell cp -dR $(INSTALL_DIR)/lib/modules/* $(prefix)/lib/modules/) 1.49 - 1.50 xen: 1.51 $(MAKE) prefix=$(INSTALL_DIR) dist=yes -C xen install 1.52