diff options
author | Daniel Elstner <daniel@src.gnome.org> | 2009-03-23 11:54:48 +0000 |
---|---|---|
committer | Daniel Elstner <daniel@src.gnome.org> | 2009-03-23 11:54:48 +0000 |
commit | 1a3809efbe08c181b27d9642591919a007178ad0 (patch) | |
tree | b92bd594ffa9cdfab195d068e6de55b975bc1548 /docs | |
parent | b04912d1891c135c5f7e6af9919c26cc51be4539 (diff) | |
download | glibmm-1a3809efbe08c181b27d9642591919a007178ad0.tar.gz |
Remove generated file from repository
svn path=/trunk/; revision=802
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/beautify_docs.pl | 81 |
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/ & /& /; - s/ \* /* /; - - # arg list - s/ &/&/g; - s/&\b/& /g; - s/ \*/*/g; - s/\*\b/* /g; - - # templates - s/\btemplate<\b/template </; - while(s/(.*<) +(.+) +(>.*)/$1$2$3/) {} - } - elsif(/<td class="md(|name)"/) - { - # left parenthesis - s/\( /(/; - - # return value - s/ & /& /g; - s/ \* /* /g; - - # arg list - s/ & /& /g; - s/ \* /* /g; - - # templates - s/\btemplate<\b/template </; - while(s/(.*<) +(.+) +(>.*)/$1$2$3/) {} - } - else - { - # template decls - s/^(|<h\d>)template<\b/$1template </; - } - - push(@outbuf, $_); - } - - open(FILE, '>', $file); - - # write the whole buffer back - print FILE "$_" foreach(@outbuf); - - close(FILE); -} - |