summaryrefslogtreecommitdiff
path: root/docs/gtkdocs_fix
diff options
context:
space:
mode:
authorjk7744.park <jk7744.park@samsung.com>2015-09-08 21:52:54 +0900
committerjk7744.park <jk7744.park@samsung.com>2015-09-08 21:52:54 +0900
commit295c0af040ee0c94b603d7965658dd63524117a7 (patch)
tree537aca5c5c1e32e4579ba8bf0fbdfd92f328e204 /docs/gtkdocs_fix
parente3c3b2b8eb7042f3fda8ab96fc5c98003284449b (diff)
downloadgmime-295c0af040ee0c94b603d7965658dd63524117a7.tar.gz
gmime-295c0af040ee0c94b603d7965658dd63524117a7.tar.bz2
gmime-295c0af040ee0c94b603d7965658dd63524117a7.zip
Diffstat (limited to 'docs/gtkdocs_fix')
-rwxr-xr-xdocs/gtkdocs_fix11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/gtkdocs_fix b/docs/gtkdocs_fix
new file mode 100755
index 0000000..d13daa6
--- /dev/null
+++ b/docs/gtkdocs_fix
@@ -0,0 +1,11 @@
+#!/usr/bin/perl
+
+# Stupid script to fix look of html files created with sgml2html...
+
+foreach (@ARGV) {
+ print "Fixing... $_\n";
+ system("mv $_ $_.orig");
+ system("sed -e 's/<BODY>/<BODY BGCOLOR=\"#FFFFFF\">/g' -e 's/<HR>/<HR NOSHADE>/g' $_.orig > $_");
+ unlink("$_.orig");
+}
+