From: Denis Briand Date: Mon, 6 Jul 2015 13:45:55 +0000 (+0200) Subject: use dpkg-buildflags X-Git-Tag: debian/0.6.0_pre2-5~10 X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=164f01980d95716813f82df6c32135fddbe2cce4;p=pkg%2Fabook.git use dpkg-buildflags --- diff --git a/debian/changelog b/debian/changelog index c5f3a8d..438d08b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,7 @@ abook (0.6.0~pre2-4) unstable; urgency=high [ Denis Briand ] * Add me as co-maintainer (Thanks Rhonda). * Bump standards version to 3.9.6 + * Use dpkg-buildflags. -- Denis Briand Mon, 06 Jul 2015 15:13:16 +0200 diff --git a/debian/control b/debian/control index 75621fe..fd7ef81 100644 --- a/debian/control +++ b/debian/control @@ -5,7 +5,7 @@ Maintainer: Rhonda D'Vine Uploaders: Denis Briand Standards-Version: 3.9.6 Build-Depends: libncursesw5-dev, libreadline6-dev | libreadline-dev, - po-debconf, quilt (>= 0.40), autotools-dev + po-debconf, quilt (>= 0.40), autotools-dev, dpkg-dev (>= 1.16.1~) Homepage: http://abook.sourceforge.net/ Vcs-Browser: http://git.deb.at/w/pkg/abook.git Vcs-Git: git://git.deb.at/g/pkg/abook.git diff --git a/debian/rules b/debian/rules index 4404460..739fd87 100755 --- a/debian/rules +++ b/debian/rules @@ -3,13 +3,18 @@ # copyright 2003-2012 by Gerfried Fuchs # Licenced under WTFPLv2 +#use dpkg-buildflags +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk + PKG = abook TMP = $(CURDIR)/debian/$(PKG) QUILT_STAMPFN = patch-stamp include /usr/share/quilt/quilt.make -CFLAGS = -g -Wall -std=gnu89 +#CFLAGS = -g -Wall -std=gnu89 +CFLAGS = -g -Wall INSTALL = install INSTALL_FILE = $(INSTALL) -p -oroot -groot -m644 INSTALL_PROGRAM = $(INSTALL) -p -oroot -groot -m755