* Switch patch system from dpatch to quilt.
[debian/jabref.git] / debian / rules
index aa8f191..4767acf 100755 (executable)
@@ -9,15 +9,10 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-include /usr/share/dpatch/dpatch.make
-
-configure: configure-stamp
-configure-stamp: patch
-       dh_testdir
-       touch configure-stamp
+include /usr/share/quilt/quilt.make
 
 build: build-stamp
-build-stamp: configure-stamp
+build-stamp: $(QUILT_STAMPFN)
        dh_testdir
        JAVA_HOME=/usr/lib/jvm/java-gcj ant jars
        convert -geometry 32x32 src/images/JabRef-icon-48.png build/jabref32.xpm
@@ -29,7 +24,7 @@ clean: unpatch
        dh_testroot
        rm -f *-stamp
        ant clean
-       dh_clean 
+       dh_clean
 
 install: install-stamp
 install-stamp: build-stamp
@@ -39,7 +34,7 @@ install-stamp: build-stamp
        dh_installdirs
        install -m 755 debian/jabref-wrapper $(CURDIR)/debian/jabref/usr/bin/jabref
        touch install-stamp
-                                                        
+
 # Build architecture-independent files here.
 binary-indep: build install
        dh_testdir
@@ -64,4 +59,4 @@ binary-arch: build install
 # We have nothing to do.
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build clean binary-indep binary-arch binary install