From 8f0267d1578e1c4d024bb1fa2ff0d3d7b5338407 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Sun, 19 Apr 2009 04:16:35 +0100 Subject: [PATCH] Use quilt for future changes to upstream --- debian/README.source | 4 ++++ debian/changelog | 1 + debian/control | 2 +- debian/rules | 6 ++++-- 4 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 debian/README.source diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..0936828 --- /dev/null +++ b/debian/README.source @@ -0,0 +1,4 @@ +Changes to upstream source are organised as a quilt patch series. + +Run debian/rules patch to apply all patches and debian/rules unpatch +to remove them. See the quilt documentation for more information. diff --git a/debian/changelog b/debian/changelog index 71fcd88..fb7436e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,7 @@ ap-utils (1.5-1) UNRELEASED; urgency=low * Install Ukrainian README file as README.uk and English as README - closes: #291898 - Convert both files from KOI8-U to UTF-8 encoding + * Use quilt for patches -- Ben Hutchings Sun, 19 Apr 2009 03:01:50 +0100 diff --git a/debian/control b/debian/control index b49cb00..978eb20 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: ap-utils Section: net Priority: optional Maintainer: Ben Hutchings -Build-Depends: debhelper (>= 7), libncurses5-dev, autotools-dev +Build-Depends: debhelper (>= 7), libncurses5-dev, autotools-dev, quilt Standards-Version: 3.6.1.0 Package: ap-utils diff --git a/debian/rules b/debian/rules index fc9e72d..0284e8d 100755 --- a/debian/rules +++ b/debian/rules @@ -6,8 +6,10 @@ export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) confflags += --host $(DEB_BUILD_GNU_TYPE) --build $(DEB_HOST_GNU_TYPE) +include /usr/share/quilt/quilt.make + build: build-stamp -build-stamp: +build-stamp: $(QUILT_STAMPFN) dh_testdir cp -f /usr/share/misc/config.sub config.sub cp -f /usr/share/misc/config.guess config.guess @@ -17,7 +19,7 @@ build-stamp: $(MAKE) touch build-stamp -clean: +clean: unpatch dh_testdir dh_testroot rm -f build-stamp config.sub config.guess -- 2.39.5