[Pkg-xen-devel] Do we have one make more than necessary?

Julien Danjou acid at debian.org
Mon Feb 20 10:08:41 UTC 2006


On Mon, Feb 20, 2006 at 10:15:51AM +0100, Guido Trotter wrote:
Hello,

[...]

What about something like this:
diff -ru xen-3.0.1.orig/debian/rules xen-3.0.1/debian/rules
--- xen-3.0.1.orig/debian/rules	2006-02-20 11:02:23.000000000 +0100
+++ xen-3.0.1/debian/rules	2006-02-20 11:05:42.000000000 +0100
@@ -29,12 +29,12 @@
 debian/stamps/build:
 	mkdir -p $(@D)
 	rm -rf debian/install
-	$(MAKE) all DESTDIR=$(CURDIR)/debian/install KERNELS= GCC=$(CC) CC=$(CC) HOSTCC=$(CC)
+	$(MAKE) build DESTDIR=$(CURDIR)/debian/install KERNELS= GCC=$(CC) CC=$(CC) HOSTCC=$(CC)
 	touch $@
 
 install: debian/stamps/build
 	rm -rf debian/install
-	$(MAKE) dist DESTDIR=$(CURDIR)/debian/install KERNELS= XEN_PYTHON_NATIVE_INSTALL=1 CC=$(CC) GCC=$(CC) HOSTCC=$(CC)
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/install KERNELS= XEN_PYTHON_NATIVE_INSTALL=1 CC=$(CC) GCC=$(CC) HOSTCC=$(CC)
 ifeq ($(DEB_BUILD_ARCH),i386)
 	$(MAKE) mrproper
 	$(MAKE) xen DESTDIR=$(CURDIR)/debian/install KERNELS= GCC=$(CC) CC=$(CC) HOSTCC=$(CC) XEN_TARGET_X86_PAE=y TARGET=$(CURDIR)/xen/xen_pae



I did not test it so I did not commit it yet.

-- 
Julien Danjou
.''`.  Debian Developer
: :' : http://julien.danjou.info
`. `'  http://people.debian.org/~acid
  `-   9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20060220/2b7cf1ee/attachment.pgp


More information about the Pkg-xen-devel mailing list