WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] PATCH: separate install_* targets, for package building
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
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] PATCH: separate install_* targets, for package building, Rik van Riel <=