]> git.deb.at Git - pkg/abook.git/commitdiff
use dpkg-buildflags
authorDenis Briand <debian@denis-briand.fr>
Mon, 6 Jul 2015 13:45:55 +0000 (15:45 +0200)
committerDenis Briand <debian@denis-briand.fr>
Mon, 6 Jul 2015 13:45:55 +0000 (15:45 +0200)
debian/changelog
debian/control
debian/rules

index c5f3a8d50aa1a3c8c65937870489d225ec37472c..438d08becd8658bb061228807bc8ae554ea53775 100644 (file)
@@ -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 <debian@denis-briand.fr>  Mon, 06 Jul 2015 15:13:16 +0200
 
index 75621fe2ce309bf567dc520805314acba04908cb..fd7ef812ea652a8397dc3f501c9b0ad65b352a23 100644 (file)
@@ -5,7 +5,7 @@ Maintainer: Rhonda D'Vine <rhonda@debian.org>
 Uploaders: Denis Briand <debian@denis-briand.fr>
 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
index 440446042e8e859a7d674b1ecc9868de568876d7..739fd87d4c9b358bfa0a811f45d7571d35e85a9d 100755 (executable)
@@ -3,13 +3,18 @@
 # copyright 2003-2012 by Gerfried Fuchs <rhonda@debian.org>
 # 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