[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] PATCH: separate install_* targets, for package building

  • To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
  • From: Rik van Riel <riel@xxxxxxxxxx>
  • Date: Wed, 1 Dec 2004 18:39:35 -0500 (EST)
  • Delivery-date: Wed, 01 Dec 2004 23:40:45 +0000
  • List-id: List for Xen developers <xen-devel.lists.sourceforge.net>


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
        $(MAKE) -C xen install
        $(MAKE) -C tools install
+       sh ./docs/check_pkgs && $(MAKE) -C docs install || true
        $(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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.