Rik van Riel
2004-Dec-01 23:39 UTC
[Xen-devel] PATCH: separate install_* targets, for package building
Hi, this patch splits out the make install target into multiple sub targets, making it easy to install just one thing or another. This allows distributions to make Xen packages, while keeping the kernel patches elsewhere. --- xen-unstable/Makefile.makeinstall 2004-12-01 18:28:43.000000000 -0500 +++ xen-unstable/Makefile 2004-12-01 18:29:34.000000000 -0500 @@ -33,12 +33,20 @@ dist: xen tools kernels docs # 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_docs install_kernel + +install_xen: $(MAKE) -C xen install + +install_tools: $(MAKE) -C tools install + +install_docs: + sh ./docs/check_pkgs && $(MAKE) -C docs install || true + +install_kernel: $(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/) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel