r862 - in /unstable/x264/debian: changelog rules

lool at users.alioth.debian.org lool at users.alioth.debian.org
Sun Aug 12 16:11:05 UTC 2007


Author: lool
Date: Sun Aug 12 16:11:05 2007
New Revision: 862

URL: http://svn.debian.org/wsvn/pkg-multimedia/?sc=1&rev=862
Log:
* Split out patching in a new target.

Modified:
    unstable/x264/debian/changelog
    unstable/x264/debian/rules

Modified: unstable/x264/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/x264/debian/changelog?rev=862&op=diff
==============================================================================
--- unstable/x264/debian/changelog (original)
+++ unstable/x264/debian/changelog Sun Aug 12 16:11:05 2007
@@ -14,8 +14,9 @@
   * Add myself to Uploaders.
   * Wrap build-deps, deps, and uploaders.
   * Use ${binary:Version} instead of ${Source-Version}.
+  * Split out patching in a new target.
 
- -- Loic Minier <lool at dooz.org>  Sun, 12 Aug 2007 17:40:19 +0200
+ -- Loic Minier <lool at dooz.org>  Sun, 12 Aug 2007 18:10:57 +0200
 
 x264 (0.svn20070309-4) unstable; urgency=low
 

Modified: unstable/x264/debian/rules
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/x264/debian/rules?rev=862&op=diff
==============================================================================
--- unstable/x264/debian/rules (original)
+++ unstable/x264/debian/rules Sun Aug 12 16:11:05 2007
@@ -26,12 +26,18 @@
 #                   0.svn20070309-5
 DEB_UPSTREAM_SVN_REV ?= $(shell echo $(DEB_UPSTREAM_VERSION) | sed -rn 's/^.*[\.~\d]+svn[\.r]?([0-9]+)(\.[0-9]+)?$$/\1/p')
 
-build: build-stamp
-build-stamp:
+patch: patch-stamp
+patch-stamp:
 	dh_testdir
-	$(QUILT) push -a || test $$? = 2
+	# apply patches
+	QUILT_PATCHES=$(PATCH_DIR) quilt --quiltrc /dev/null push -a || test $$? = 2
 	cp -a /usr/share/misc/config.guess .
 	cp -a /usr/share/misc/config.sub .
+	touch $@
+
+build: build-stamp
+build-stamp: patch-stamp
+	dh_testdir
 	# Build static lib
 	CFLAGS="$(CFLAGS)" ./configure $(confflags)
 	$(MAKE) clean
@@ -50,7 +56,7 @@
 clean:
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp
+	rm -f build-stamp patch-stamp
 	$(MAKE) distclean
 	rm -f libx264.a.bak
 	$(QUILT) pop -a -R || test $$? = 2




More information about the pkg-multimedia-commits mailing list