summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Elstner <daniel@src.gnome.org>2009-03-23 11:54:48 +0000
committerDaniel Elstner <daniel@src.gnome.org>2009-03-23 11:54:48 +0000
commit1a3809efbe08c181b27d9642591919a007178ad0 (patch)
treeb92bd594ffa9cdfab195d068e6de55b975bc1548 /docs
parentb04912d1891c135c5f7e6af9919c26cc51be4539 (diff)
downloadglibmm-1a3809efbe08c181b27d9642591919a007178ad0.tar.gz
Remove generated file from repository
svn path=/trunk/; revision=802
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/beautify_docs.pl81
1 files changed, 0 insertions, 81 deletions
diff --git a/docs/reference/beautify_docs.pl b/docs/reference/beautify_docs.pl
deleted file mode 100644
index 172bd9c3..00000000
--- a/docs/reference/beautify_docs.pl
+++ /dev/null
@@ -1,81 +0,0 @@
-#! /usr/bin/perl
-#
-# docs/reference/beautify_docs.pl. Generated from beautify_docs.pl.in by configure.
-#
-
-#sub main()
-{
- my $directory = ".";
- $directory = $ARGV[0] unless scalar(@ARGV) == 0;
- print "processing directory $directory...\n" unless $directory =~ /^\.?$/;
-
- foreach(`find "$directory" -type f -name '*.html'`)
- {
- chomp;
- /([^\/]+)$/;
- print "processing $1...\n";
- &process($_);
- }
-
- exit 0;
-}
-
-sub process($)
-{
- my ($file) = @_;
- my @outbuf;
-
- open(FILE, '<', $file);
-
- while(<FILE>)
- {
- if(/<a class="el"/)
- {
- # return value
- s/ &amp;&nbsp;/&amp;&nbsp;/;
- s/ \*&nbsp;/*&nbsp;/;
-
- # arg list
- s/ &amp;/&amp;/g;
- s/&amp;\b/&amp; /g;
- s/ \*/*/g;
- s/\*\b/* /g;
-
- # templates
- s/\btemplate&lt;\b/template &lt;/;
- while(s/(.*&lt;) +(.+) +(&gt;.*)/$1$2$3/) {}
- }
- elsif(/<td class="md(|name)"/)
- {
- # left parenthesis
- s/\(&nbsp;/(/;
-
- # return value
- s/ &amp; /&amp; /g;
- s/ \* /* /g;
-
- # arg list
- s/ &amp;&nbsp;/&amp;&nbsp;/g;
- s/ \*&nbsp;/*&nbsp;/g;
-
- # templates
- s/\btemplate&lt;\b/template &lt;/;
- while(s/(.*&lt;) +(.+) +(&gt;.*)/$1$2$3/) {}
- }
- else
- {
- # template decls
- s/^(|<h\d>)template&lt;\b/$1template &lt;/;
- }
-
- push(@outbuf, $_);
- }
-
- open(FILE, '>', $file);
-
- # write the whole buffer back
- print FILE "$_" foreach(@outbuf);
-
- close(FILE);
-}
-