From 164f01980d95716813f82df6c32135fddbe2cce4 Mon Sep 17 00:00:00 2001 From: Denis Briand Date: Mon, 6 Jul 2015 15:45:55 +0200 Subject: [PATCH] use dpkg-buildflags --- debian/changelog | 1 + debian/control | 2 +- debian/rules | 7 ++++++- 3 files changed, 8 insertions(+), 2 deletions(-) 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 -- 2.39.2