./libogg r24: Use quilt.make.

Adeodato Simó dato at net.com.org.es
Thu Dec 27 12:23:35 UTC 2007


------------------------------------------------------------
revno: 24
tags: 1.1.3-3
committer: Adeodato Simó <dato at net.com.org.es>
branch nick: libogg
timestamp: Thu 2007-12-27 13:23:35 +0100
message:
  Use quilt.make.
modified:
  debian/changelog
  debian/rules
-------------- next part --------------
=== modified file 'debian/changelog'
--- a/debian/changelog	2007-12-27 12:23:19 +0000
+++ b/debian/changelog	2007-12-27 12:23:35 +0000
@@ -11,6 +11,7 @@
 
   * Other changes:
     + bump debian/compat to 5.
+    + use /usr/share/quilt/quilt.make.
     + remove emacs cruft from changelog.
     + bump Standards-Version to 3.7.3 (no changes needed).
 

=== modified file 'debian/rules'
--- a/debian/rules	2007-12-27 12:09:47 +0000
+++ b/debian/rules	2007-12-27 12:23:35 +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