[Pkg-xen-changes] r4 - trunk

Guido Trotter ultrotter at costa.debian.org
Thu Feb 16 15:49:35 UTC 2006


Author: ultrotter
Date: 2006-02-16 15:49:34 +0000 (Thu, 16 Feb 2006)
New Revision: 4

Added:
   trunk/patches/
Modified:
   trunk/control
   trunk/rules
Log:
Add dpatch infrastructure to the package (which we can use to apply patches to the source we're building)


Modified: trunk/control
===================================================================
--- trunk/control	2006-02-16 10:45:13 UTC (rev 3)
+++ trunk/control	2006-02-16 15:49:34 UTC (rev 4)
@@ -4,7 +4,7 @@
 Section: misc
 Priority: extra
 Standards-Version: 3.6.1.0
-Build-Depends: tetex-bin, tetex-extra, gs-common, debhelper (>= 4), libcurl3-dev | libcurl-dev, dh-kpatches, python-dev, python (>= 2.2), gcc, transfig, wget, libncurses5-dev, libsdl1.2-dev, libvncserver-dev, libjpeg-dev, bzip2, hotplug, bash, bcc
+Build-Depends: tetex-bin, tetex-extra, gs-common, debhelper (>= 4), libcurl3-dev | libcurl-dev, dh-kpatches, python-dev, python (>= 2.2), gcc, transfig, wget, libncurses5-dev, libsdl1.2-dev, libvncserver-dev, libjpeg-dev, bzip2, hotplug, bash, bcc, dpatch
 
 Package: xen
 Section: misc

Modified: trunk/rules
===================================================================
--- trunk/rules	2006-02-16 10:45:13 UTC (rev 3)
+++ trunk/rules	2006-02-16 15:49:34 UTC (rev 4)
@@ -18,12 +18,17 @@
 UP_VERSION	:= $(shell echo "$(DEB_VERSION)" | sed 's/-[^-]*$$//')
 DEB_BUILD_ARCH  := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 
-clean:
+include /usr/share/dpatch/dpatch.make
+
+clean: really-clean unpatch
+
+really-clean:
 	$(MAKE) mrproper
 	rm debian/install debian/stamps debian/linux-source linux-$(LINUX_VERSIONS)-xen linux-${LINUX_VERSIONS}-xen-sparse linux-${LINUX_VERSIONS}.tar.bz2 linux-$(LINUX_VERSIONS)-xen.patch -rf
 	dh_clean
 
-build: debian/stamps/build $(addsuffix -xen.patch,$(ALLSPARSETREES))
+build: patch-stamp debian/stamps/build $(addsuffix -xen.patch,$(ALLSPARSETREES))
+
 debian/stamps/build:
 	mkdir -p $(@D)
 	rm -rf debian/install




More information about the Pkg-xen-changes mailing list