proposed format and bump the year on my copyright notice.
* Remove the diffsrc rules target which was intended for my own
internal use, but has outlived its time.
+ * Use dpkg-buildflags from dpkg-dev >= 1.15.7~ to get the default
+ values for CFLAGS, CPPFLAGS, and LDFLAGS; no longer rely on
+ dpkg-buildpackage to set them by default.
-- Peter Pentchev <roam@ringlet.net> Wed, 02 Jun 2010 14:10:05 +0300
Section: mail
Priority: optional
Maintainer: Peter Pentchev <roam@ringlet.net>
-Build-Depends: debhelper (>= 7.0.50), byacc, flex, hardening-wrapper, liblockfile-dev, libssl-dev, pmake, po-debconf
+Build-Depends: debhelper (>= 7.0.50), byacc, dpkg-dev (>= 1.15.7~), flex, hardening-wrapper, liblockfile-dev, libssl-dev, pmake, po-debconf
Standards-Version: 3.8.4
Homepage: http://devel.ringlet.net/mail/dma/
Vcs-Svn: http://svn.ringlet.net/svn/ringlet/mail/dma/trunk/dma-pkg/debian/
PACKAGE= dma
+CFLAGS= $(shell dpkg-buildflags --get CFLAGS)
+CPPFLAGS= $(shell dpkg-buildflags --get CPPFLAGS)
+LDFLAGS= $(shell dpkg-buildflags --get LDFLAGS)
+
ifneq (,$(filter werror,$(DEB_BUILD_OPTIONS)))
CFLAGS+= -Werror
endif
export DEB_BUILD_HARDENING=0
endif
-export CFLAGS
+export CFLAGS CPPFLAGS LDFLAGS
override_dh_auto_build:
pmake