./libvorbis r24: Use quilt.make in debian/rules.

Adeodato Simó dato at net.com.org.es
Thu Dec 27 13:38:57 UTC 2007


------------------------------------------------------------
revno: 24
committer: Adeodato Simó <dato at net.com.org.es>
branch nick: libvorbis
timestamp: Thu 2007-12-27 14:38:57 +0100
message:
  Use quilt.make in debian/rules.
modified:
  debian/changelog
  debian/rules
-------------- next part --------------
=== modified file 'debian/changelog'
--- a/debian/changelog	2007-12-27 13:35:09 +0000
+++ b/debian/changelog	2007-12-27 13:38:57 +0000
@@ -5,6 +5,8 @@
   * Bump debian/compat to 5, and Standards-Version to 3.7.3 (no changes
     needed).
 
+  * Use quilt.make in debian/rules.
+
  -- Adeodato Simó <dato at net.com.org.es>  Thu, 27 Dec 2007 14:33:45 +0100
 
 libvorbis (1.2.0.dfsg-2) unstable; urgency=high

=== modified file 'debian/rules'
--- a/debian/rules	2007-08-14 19:04:31 +0000
+++ b/debian/rules	2007-12-27 13:38:57 +0000
@@ -1,5 +1,7 @@
 #! /usr/bin/make -f
 
+include /usr/share/quilt/quilt.make
+
 ###
 
 # Configure arguments
@@ -37,15 +39,12 @@
 ###
 
 configure: configure-stamp
-configure-stamp:
+configure-stamp: $(QUILT_STAMPFN)
 	dh_testdir
 
 	ln -sf /usr/share/misc/config.sub .
 	ln -sf /usr/share/misc/config.guess .
 
-	ln -sf debian/patches
-	quilt push -a || test $$? = 2
-
 	-mkdir $(objdir)
 	cd $(objdir) && \
 	env CFLAGS="$(CFLAGS)" ../configure $(confflags)
@@ -63,16 +62,10 @@
 
 #
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 
-	quilt pop -a -R || test $$? = 2
-
-	# remove quilt cruft
-	rm -f   patches
-	rm -rf .pc
-
 	rm -f configure-stamp build-stamp install-stamp
 	rm -f config.guess config.sub
 



More information about the pkg-xiph-commits mailing list