From 887425fccb325642d954be8194b567d71fb6f23f Mon Sep 17 00:00:00 2001 From: chris_kohlhoff Date: Sat, 6 Jan 2007 23:24:38 +0000 Subject: [PATCH] Remove doc generation. --- asio/boostify.pl | 124 ----------------------------------------------- 1 file changed, 124 deletions(-) diff --git a/asio/boostify.pl b/asio/boostify.pl index d4d17257..18b7219d 100755 --- a/asio/boostify.pl +++ b/asio/boostify.pl @@ -589,132 +589,8 @@ sub copy_examples } } -sub copy_docs -{ - my @dirs = ( - "src/doc/boost", - "src/doc/concepts", - "src/doc/design"); - - our $boost_dir; - foreach my $dir (@dirs) - { - my @files = ( - glob("$dir/*.*pp"), - glob("$dir/*.dox"), - glob("$dir/*.dot"), - glob("$dir/*.htm"), - glob("$dir/*.txt")); - foreach my $file (@files) - { - my $from = $file; - my $to = $file; - if ($to =~ /src\/doc\/boost\/.*\.qbk/) - { - $to =~ s/^src\/doc\/boost\//$boost_dir\/libs\/asio\/doc\//; - } - elsif ($to =~ /src\/doc\/boost\/.*\.v2/) - { - $to =~ s/^src\/doc\/boost\//$boost_dir\/libs\/asio\/doc\//; - } - elsif ($to =~ /src\/doc\/boost/) - { - $to =~ s/^src\/doc\/boost\//$boost_dir\/libs\/asio\/doc\/doxygen\//; - } - elsif ($to =~ /src\/doc\/design/) - { - $to =~ s/^src\/doc\/design\//$boost_dir\/libs\/asio\/doc\/doxygen\/design\//; - } - else - { - $to =~ s/^src\/doc\//$boost_dir\/libs\/asio\/doc\//; - } - copy_source_file($from, $to); - } - } - - copy_source_file("src/doc/boost/index.html", - "$boost_dir/libs/asio/doc/index.html"); - copy_source_file("src/doc/boost/asio.css", - "$boost_dir/libs/asio/doc/asio.css"); - copy_source_file("src/doc/boost/asio.css", - "$boost_dir/libs/asio/doc/design/asio.css"); - copy_source_file("src/doc/boost/asio.css", - "$boost_dir/libs/asio/doc/doxygen/asio.css"); - copy_source_file("src/doc/boost/asio.css", - "$boost_dir/libs/asio/doc/examples/asio.css"); - copy_source_file("src/doc/boost/asio.css", - "$boost_dir/libs/asio/doc/reference/asio.css"); - copy_source_file("src/doc/boost/asio.css", - "$boost_dir/libs/asio/doc/tutorial/asio.css"); - copy_source_file("src/doc/external.doxytags", - "$boost_dir/libs/asio/doc/doxygen/external.doxytags"); -} - -sub create_root_html -{ - our $boost_dir; - open(my $output, ">$boost_dir/libs/asio/index.html") - or die("Can't open $boost_dir/libs/asio/index.html for writing"); - print($output "\n"); - print($output "\n"); - print($output "\n"); - print($output "\n"); - print($output "\n"); - print($output "Automatic redirection failed, please go to\n"); - print($output "doc/html/index.html\n"); - print($output "\n"); - print($output "\n"); - close($output); -} - -sub create_doc_html -{ - our $boost_dir; - mkdir("$boost_dir/libs/asio/doc"); - open(my $output, ">$boost_dir/libs/asio/doc/index.html") - or die("Can't open $boost_dir/libs/asio/doc/index.html for writing"); - print($output "\n"); - print($output "\n"); - print($output "\n"); - print($output "\n"); - print($output "\n"); - print($output "Automatic redirection failed, please go to\n"); - print($output "html/index.html\n"); - print($output "\n"); - print($output "\n"); - close($output); -} - -sub execute_doxygen -{ - our $boost_dir; - chdir("$boost_dir/libs/asio/doc/doxygen"); - system("doxygen reference.dox"); - system("doxygen design.dox"); - system("doxygen examples.dox"); - system("doxygen tutorial.dox"); - unlink("asio.doxytags"); - unlink("design.doxytags"); - chdir(".."); - my @rm_files = ( - glob("*/*.map"), - glob("*/*.md5"), - glob("*/doxygen.png")); - foreach my $rm_file (@rm_files) - { - unlink($rm_file); - } -} - determine_boost_dir(); copy_include_files(); create_lib_directory(); copy_unit_tests(); copy_examples(); -copy_docs(); -create_root_html(); -#create_doc_html(); -#execute_doxygen();