diff options
author | kaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk> | 2004-12-02 09:21:05 +0000 |
---|---|---|
committer | kaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk> | 2004-12-02 09:21:05 +0000 |
commit | 2639d4fd5c43a0e2e913c13df4103b7f279bb629 (patch) | |
tree | 1101bab057d77c806798739f9e0d2015425b0724 | |
parent | ae51438ac62eb5db9d1815b52bbe3e2aef551199 (diff) | |
download | xen-2639d4fd5c43a0e2e913c13df4103b7f279bb629.tar.gz xen-2639d4fd5c43a0e2e913c13df4103b7f279bb629.tar.bz2 xen-2639d4fd5c43a0e2e913c13df4103b7f279bb629.zip |
bitkeeper revision 1.1159.187.49 (41aede81IBQOThmH0W0AYSHb2Gt7sA)
Split out install targets in root Makefile.
-rw-r--r-- | Makefile | 31 |
1 files changed, 20 insertions, 11 deletions
@@ -19,29 +19,38 @@ export INSTALL_DIR include buildconfigs/Rules.mk .PHONY: all dist install xen tools kernels docs world clean mkpatches mrproper -.PHONY: kbuild kdelete kclean +.PHONY: kbuild kdelete kclean install_tools install_xen install_docs +.PHONY: install_kernel all: dist -# build and install everything into local dist directory -dist: xen tools kernels docs - install -m0644 ./COPYING $(DIST_DIR) - install -m0644 ./README $(DIST_DIR) - install -m0755 ./install.sh $(DIST_DIR) - mkdir -p $(DIST_DIR)/check - install -m0755 tools/check/chk tools/check/check_* $(DIST_DIR)/check - # install everything into the standard system directories # NB: install explicitly does not check that everything is up to date! -install: +install: install_tools install_xen install_kernels install_docs + +install_xen: $(MAKE) -C xen install + +install_tools: $(MAKE) -C tools install + +install_kernels: $(shell cp -a $(INSTALL_DIR)/boot/* /boot/) $(shell cp -a $(INSTALL_DIR)/lib/modules/* /lib/modules/) - sh ./docs/check_pkgs && $(MAKE) -C docs install || true $(shell cp -dR $(INSTALL_DIR)/boot/*$(LINUX_VER)* $(prefix)/boot/) $(shell cp -dR $(INSTALL_DIR)/lib/modules/* $(prefix)/lib/modules/) +install_docs: + sh ./docs/check_pkgs && $(MAKE) -C docs install || true + +# build and install everything into local dist directory +dist: xen tools kernels docs + install -m0644 ./COPYING $(DIST_DIR) + install -m0644 ./README $(DIST_DIR) + install -m0755 ./install.sh $(DIST_DIR) + mkdir -p $(DIST_DIR)/check + install -m0755 tools/check/chk tools/check/check_* $(DIST_DIR)/check + xen: $(MAKE) prefix=$(INSTALL_DIR) dist=yes -C xen install |