Index: mkbuilddoc =================================================================== RCS file: /cvs/www/www/styles/mkbuilddoc,v retrieving revision 1.1 diff -u -r1.1 mkbuilddoc --- mkbuilddoc 24 Aug 2001 14:37:25 -0000 1.1 +++ mkbuilddoc 6 Apr 2003 18:08:16 -0000 @@ -9,11 +9,13 @@ # name of template: build_template.html # name of resulting linux build doc. file: build_linux.html # solaris build_solaris.html -# windows build_windows.html +# windows with 4NT build_windows.html +# windows with tcsh build_win_tcsh.html # # usage: ./mkbuildoc linux # ./mkbuildoc solaris # ./mkbuildoc windows +# ./mkbuildoc win_tcsh @@ -21,8 +23,8 @@ # get the platform from the argument # $platform = shift @ARGV; -if ($platform !~ /linux|solaris|windows/i) { - die "I only know platforms Linux, Solaris, and Windows"; +if ($platform !~ /linux|solaris|windows|win_tcsh/i) { + die "I only know platforms Linux, Solaris, Windows and win_tcsh"; } $platform =~ tr/A-Z/a-z/; @@ -42,19 +44,29 @@ if ($platform eq "linux") { $text =~ s/|<\/Linux>//g; $text =~ s/|<\/LinuxSolaris>//g; + $text =~ s/|<\/LinuxSolarisWin_tcsh>//g; } elsif ($platform eq "solaris") { - $text =~ s/|<\/Solaris>//g; + $text =~ s/|<\/Solaris>//g; $text =~ s/|<\/LinuxSolaris>//g; + $text =~ s/|<\/LinuxSolarisWin_tcsh>//g; +} elsif ($platform eq "win_tcsh") { + $text =~ s/|<\/Win_tcsh>//g; + $text =~ s/|<\/LinuxSolarisWin_tcsh>//g; + $text =~ s/|<\/WindowsWin_tcsh>//g; } elsif ($platform eq "windows") { - $text =~ s/|<\/Windows>//g; + $text =~ s/|<\/Windows>//g; + $text =~ s/|<\/WindowsWin_tcsh>//g; } #remove all text between the remaining tags including the tags. # $text =~ s/[\d\D]*?<\/Linux>//g; $text =~ s/[\d\D]*?<\/Solaris>//g; +$text =~ s/[\d\D]*?<\/Win_tcsh>//g; $text =~ s/[\d\D]*?<\/LinuxSolaris>//g; +$text =~ s/[\d\D]*?<\/LinuxSolarisWin_tcsh>//g; $text =~ s/[\d\D]*?<\/Windows>//g; +$text =~ s/[\d\D]*?<\/WindowsWin_tcsh>//g; # write out the result #