[Pkg-doc-linux-devel] r226 - trunk/doc-linux/debian

Frank Lichtenheld djpig at costa.debian.org
Thu Sep 28 16:31:35 UTC 2006


Author: djpig
Date: 2006-09-28 16:31:34 +0000 (Thu, 28 Sep 2006)
New Revision: 226

Modified:
   trunk/doc-linux/debian/doc-linux.changelog
   trunk/doc-linux/debian/rules
Log:
Remove escape characters from text HOWTOs during build


Modified: trunk/doc-linux/debian/doc-linux.changelog
===================================================================
--- trunk/doc-linux/debian/doc-linux.changelog	2006-09-28 15:43:09 UTC (rev 225)
+++ trunk/doc-linux/debian/doc-linux.changelog	2006-09-28 16:31:34 UTC (rev 226)
@@ -17,6 +17,9 @@
     Autodir-HOWTO Config-HOWTO Debian-Jigdo MMBase-Inst-HOWTO
     Online-Troubleshooting-HOWTO
   * Bump Standards-Version to 3.7.2 (no changes).
+  * Remove escape characters from text HOWTOs during build. While they
+    may enhance the display for some users they also cause problems for
+    others. (Closes: #324453)
 
  -- Frank Lichtenheld <djpig at debian.org>  Thu, 28 Sep 2006 16:51:08 +0200
 

Modified: trunk/doc-linux/debian/rules
===================================================================
--- trunk/doc-linux/debian/rules	2006-09-28 15:43:09 UTC (rev 225)
+++ trunk/doc-linux/debian/rules	2006-09-28 16:31:34 UTC (rev 226)
@@ -191,6 +191,9 @@
 else
 	rm -f $(TEXT_BUILD)/HOWTO-INDEX
 endif
+# removes escape sequences from HOWTOs. While they may enhance the display
+# for some users they also cause problems for others (Bug#324453)
+	find $(TEXT_BUILD) -type f | xargs grep -l "\[[0-9]\+m" | xargs sed -i -e 's/\[[0-9]\+m//g'
 
 ifeq ($(SOURCE),doc-linux)
 	find $(TEXT_BUILD) $(R2)/usr/share/doc/FAQ -type f | xargs gzip -9




More information about the Pkg-doc-linux-devel mailing list