r10145 - packages/trunk/cookietool/debian

Peter Pentchev roam-guest at alioth.debian.org
Mon Aug 17 14:53:20 UTC 2009


Author: roam-guest
Date: 2009-08-17 14:53:19 +0000 (Mon, 17 Aug 2009)
New Revision: 10145

Added:
   packages/trunk/cookietool/debian/clean
Modified:
   packages/trunk/cookietool/debian/changelog
   packages/trunk/cookietool/debian/rules
Log:
Extract the history section of the README file into a changelog.
Yes, this duplicates information between installed files; still,
IMHO a broken-out upstream changelog could be useful :)


Modified: packages/trunk/cookietool/debian/changelog
===================================================================
--- packages/trunk/cookietool/debian/changelog	2009-08-17 14:42:25 UTC (rev 10144)
+++ packages/trunk/cookietool/debian/changelog	2009-08-17 14:53:19 UTC (rev 10145)
@@ -4,6 +4,7 @@
     things, this fixes the build on Lenny.
   * Simplify the rules file even further by using the quilt plugin
     for debhelper; specify a >= 0.46-7 version to the quilt dependency.
+  * Extract the history section of the README file into a changelog.
 
  -- Peter Pentchev <roam at ringlet.net>  Mon, 17 Aug 2009 17:22:23 +0300
 

Added: packages/trunk/cookietool/debian/clean
===================================================================
--- packages/trunk/cookietool/debian/clean	                        (rev 0)
+++ packages/trunk/cookietool/debian/clean	2009-08-17 14:53:19 UTC (rev 10145)
@@ -0,0 +1 @@
+Changes

Modified: packages/trunk/cookietool/debian/rules
===================================================================
--- packages/trunk/cookietool/debian/rules	2009-08-17 14:42:25 UTC (rev 10144)
+++ packages/trunk/cookietool/debian/rules	2009-08-17 14:53:19 UTC (rev 10145)
@@ -15,5 +15,11 @@
 export DEB_BUILD_HARDENING=0
 endif
 
+override_dh_auto_build:
+	dh_auto_build --with quilt
+	awk '/^[0-9]+\..*History/ { disp = 1 } \
+	     /^[0-9]/ && !/^[0-9]+\..*History/ { disp = 0 } \
+	     { if (disp) { print } }' README > Changes
+
 %:
 	dh --with quilt $@




More information about the Pkg-games-commits mailing list