[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>

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@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

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