development with quilt

Andreas Schuldei andreas+fai-devel at schuldei.org
Wed Aug 27 14:24:09 CEST 2008


this patch would help to use the quilt patch management system for handling additional patches in trunk.
you could add switches (setting environment variables?) to switch quilt use on or off.

i wrote a short introduction to quilt in the wiki:
http://faiwiki.informatik.uni-koeln.de/index.php/Development_with_quilt


Index: debian/control
===================================================================
--- debian/control	(revision 5003)
+++ debian/control	(working copy)
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Thomas Lange <lange at debian.org>
 Standards-Version: 3.7.2
-Build-Depends-Indep: debiandoc-sgml, tetex-bin|texlive-base-bin, tetex-extra|texlive-latex-extra
+Build-Depends-Indep: debiandoc-sgml, tetex-bin|texlive-base-bin, tetex-extra|texlive-latex-extra, quilt
 Build-Depends: debhelper (>= 4.1.16)
 XS-Vcs-Svn: svn://svn.debian.org/svn/fai/trunk
 XS-Vcs-Browser: http://svn.debian.org/wsvn/fai
Index: debian/rules
===================================================================
--- debian/rules	(revision 5003)
+++ debian/rules	(working copy)
@@ -9,6 +9,9 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+# These are locations of quilt stuff
+export QUILT_PATCHES=$(shell pwd)/debian/patches
+
 include VERSION
 
 build: build-stamp
@@ -20,9 +23,11 @@
 
 	touch build-stamp
 
+
 clean:
 	dh_testdir
 #	dh_testroot
+	-quilt pop -a
 	rm -f build-stamp
 # Add here commands to clean up after the build process.
 	-$(MAKE) clean
@@ -30,6 +35,7 @@
 
 install: build
 	dh_testdir
+	quilt push -a
 	dh_testroot
 	dh_clean -k
 	dh_installdirs



More information about the linux-fai-devel mailing list