r9386 - packages/trunk/cookietool/debian

Peter Pentchev roam-guest at alioth.debian.org
Fri Apr 3 15:00:09 UTC 2009


Author: roam-guest
Date: 2009-04-03 15:00:08 +0000 (Fri, 03 Apr 2009)
New Revision: 9386

Modified:
   packages/trunk/cookietool/debian/changelog
   packages/trunk/cookietool/debian/rules
Log:
Build with -Werror if "werror" is in DEB_BUILD_OPTIONS.


Modified: packages/trunk/cookietool/debian/changelog
===================================================================
--- packages/trunk/cookietool/debian/changelog	2009-04-03 14:58:26 UTC (rev 9385)
+++ packages/trunk/cookietool/debian/changelog	2009-04-03 15:00:08 UTC (rev 9386)
@@ -21,6 +21,7 @@
     - add a README.source file mentioning the use of quilt
     - add a Homepage field pointing to cookietool.readme on the FTP site
   * Remove some cruft from the rules file.
+  * Build with -Werror if the "werror" build option is specified.
 
  -- Peter Pentchev <roam at ringlet.net>  Fri, 03 Apr 2009 16:18:42 +0300
 

Modified: packages/trunk/cookietool/debian/rules
===================================================================
--- packages/trunk/cookietool/debian/rules	2009-04-03 14:58:26 UTC (rev 9385)
+++ packages/trunk/cookietool/debian/rules	2009-04-03 15:00:08 UTC (rev 9386)
@@ -6,6 +6,11 @@
 PACKAGE=	cookietool
 D=		$(CURDIR)/debian/$(PACKAGE)
 
+ifneq (,$(filter werror,$(DEB_BUILD_OPTIONS)))
+	CFLAGS+=	-Werror
+endif
+export CFLAGS
+
 build: build-stamp
 build-stamp:	${QUILT_STAMPFN}
 	dh_testdir




More information about the Pkg-games-commits mailing list