aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTim Deegan <Tim.Deegan@citrix.com>2011-05-16 13:34:25 +0100
committerTim Deegan <Tim.Deegan@citrix.com>2011-05-16 13:34:25 +0100
commitad06dc009b0e1aee8f1ce7530d5f285d5bf3310b (patch)
treec556eaf8340e07ad9dc6d82a26f2d55d4b82f668 /Makefile
parente91a676bbabdef7484616755a3895c64268df8e4 (diff)
downloadxen-ad06dc009b0e1aee8f1ce7530d5f285d5bf3310b.tar.gz
xen-ad06dc009b0e1aee8f1ce7530d5f285d5bf3310b.tar.bz2
xen-ad06dc009b0e1aee8f1ce7530d5f285d5bf3310b.zip
Build target to wrap dist/install in a .deb archive.
Adds "make deb", which does a "make dist" build and wraps the resulting dist/install files in dist/xen-<version>.deb This is _not_ a "packaged" version of Xen for Debian users, nor is it intended to compete with anyone else's packaging efforts. In particular it doesn't do any of the boot-time or fstab fixups needed to actually start the xen tools. It's just a quick hack for developers to be able to quickly install and uninstall a Xen build on a test box. Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 662e31f549..9f1e3c4af1 100644
--- a/Makefile
+++ b/Makefile
@@ -118,6 +118,11 @@ world:
$(MAKE) kdelete
$(MAKE) dist
+# Package a build in a .deb file
+.PHONY: deb
+deb: dist
+ fakeroot sh ./tools/misc/mkdeb $(XEN_ROOT) $$($(MAKE) -C xen xenversion | grep -v :)
+
# clean doesn't do a kclean
.PHONY: clean
clean::