Just call me Mr Brain-Dead Moron.  Move the documentation sources to
where I _should_ have put them in the first place, and fix up the
Makefile.am's accordingly.  'make' and 'make install' now work.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1292 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/addrcheck/docs/Makefile.am b/addrcheck/docs/Makefile.am
index 39b9008..6997784 100644
--- a/addrcheck/docs/Makefile.am
+++ b/addrcheck/docs/Makefile.am
@@ -1,5 +1,5 @@
 docdir = $(datadir)/doc/valgrind
 
-doc_DATA = index.html
+doc_DATA = ac_main.html
 
 EXTRA_DIST = $(doc_DATA)
diff --git a/addrcheck/ac_main.html b/addrcheck/docs/ac_main.html
similarity index 100%
rename from addrcheck/ac_main.html
rename to addrcheck/docs/ac_main.html
diff --git a/cachegrind/docs/Makefile.am b/cachegrind/docs/Makefile.am
index e8a58fa..c0bfc1e 100644
--- a/cachegrind/docs/Makefile.am
+++ b/cachegrind/docs/Makefile.am
@@ -1,5 +1,5 @@
 docdir = $(datadir)/doc/valgrind
 
-doc_DATA = index.html manual.html nav.html techdocs.html
+doc_DATA = cg_main.html cg_techdocs.html 
 
 EXTRA_DIST = $(doc_DATA)
diff --git a/cachegrind/cg_main.html b/cachegrind/docs/cg_main.html
similarity index 100%
rename from cachegrind/cg_main.html
rename to cachegrind/docs/cg_main.html
diff --git a/cachegrind/cg_techdocs.html b/cachegrind/docs/cg_techdocs.html
similarity index 100%
rename from cachegrind/cg_techdocs.html
rename to cachegrind/docs/cg_techdocs.html
diff --git a/corecheck/docs/Makefile.am b/corecheck/docs/Makefile.am
index 39b9008..5cbe4ef 100644
--- a/corecheck/docs/Makefile.am
+++ b/corecheck/docs/Makefile.am
@@ -1,5 +1,5 @@
 docdir = $(datadir)/doc/valgrind
 
-doc_DATA = index.html
+doc_DATA = cc_main.html
 
 EXTRA_DIST = $(doc_DATA)
diff --git a/corecheck/docs/cc_main.html b/corecheck/docs/cc_main.html
new file mode 100644
index 0000000..e56954d
--- /dev/null
+++ b/corecheck/docs/cc_main.html
@@ -0,0 +1,66 @@
+<html>
+  <head>
+    <style type="text/css">
+      body      { background-color: #ffffff;
+                  color:            #000000;
+                  font-family:      Times, Helvetica, Arial;
+                  font-size:        14pt}
+      h4        { margin-bottom:    0.3em}
+      code      { color:            #000000;
+                  font-family:      Courier; 
+                  font-size:        13pt }
+      pre       { color:            #000000;
+                  font-family:      Courier; 
+                  font-size:        13pt }
+      a:link    { color:            #0000C0;
+                  text-decoration:  none; }
+      a:visited { color:            #0000C0; 
+                  text-decoration:  none; }
+      a:active  { color:            #0000C0;
+                  text-decoration:  none; }
+    </style>
+    <title>Cachegrind</title>
+  </head>
+
+<body bgcolor="#ffffff">
+
+<a name="title"></a>
+<h1 align=center>CoreCheck</h1>
+<center>This manual was last updated on 2002-10-03</center>
+<p>
+
+<center>
+<a href="mailto:njn25@cam.ac.uk">njn25@cam.ac.uk</a><br>
+Copyright &copy; 2000-2002 Nicholas Nethercote
+<p>
+CoreCheck is licensed under the GNU General Public License, 
+version 2<br>
+CoreCheck is a Valgrind skin that does very basic error checking.
+</center>
+
+<p>
+
+<h2>1&nbsp; CoreCheck</h2>
+
+CoreCheck is a very simple skin for Valgrind.  It adds no instrumentation to
+the program's code, and only reports the few kinds of errors detected by
+Valgrind's core.  It is mainly of use for Valgrind's developers for debugging
+and regression testing.
+<p>
+The errors detected are those found by the core when
+<code>VG_(needs).core_errors</code> is set.  These include:
+
+<ul>
+<li>Pthread API errors (many;  eg. unlocking a non-locked mutex)<p>
+<li>Silly arguments to <code>malloc() </code> et al (eg. negative size)<p>
+<li>Invalid file descriptors to blocking syscalls <code>read()</code> and 
+    <code>write()</code><p>
+<li>Bad signal numbers passed to <code>sigaction()</code><p>
+<li>Attempts to install signal handler for <code>SIGKILL</code> or
+    <code>SIGSTOP</code> <p>
+</ul>
+
+<hr width="100%">
+</body>
+</html>
+
diff --git a/coregrind/docs/Makefile.am b/coregrind/docs/Makefile.am
index c11ba7f..1adb3de 100644
--- a/coregrind/docs/Makefile.am
+++ b/coregrind/docs/Makefile.am
@@ -1,5 +1,5 @@
 docdir = $(datadir)/doc/valgrind
 
-doc_DATA = index.html manual.html nav.html techdocs.html skins.html
+doc_DATA = coregrind_core.html coregrind_intro.html coregrind_skins.html
 
 EXTRA_DIST = $(doc_DATA)
diff --git a/coregrind/coregrind_core.html b/coregrind/docs/coregrind_core.html
similarity index 100%
rename from coregrind/coregrind_core.html
rename to coregrind/docs/coregrind_core.html
diff --git a/coregrind/coregrind_intro.html b/coregrind/docs/coregrind_intro.html
similarity index 100%
rename from coregrind/coregrind_intro.html
rename to coregrind/docs/coregrind_intro.html
diff --git a/coregrind/coregrind_skins.html b/coregrind/docs/coregrind_skins.html
similarity index 100%
rename from coregrind/coregrind_skins.html
rename to coregrind/docs/coregrind_skins.html
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 39b9008..53b500e 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -1,5 +1,5 @@
 docdir = $(datadir)/doc/valgrind
 
-doc_DATA = index.html
+doc_DATA = manual.html
 
 EXTRA_DIST = $(doc_DATA)
diff --git a/helgrind/docs/Makefile.am b/helgrind/docs/Makefile.am
index 39b9008..08c32b3 100644
--- a/helgrind/docs/Makefile.am
+++ b/helgrind/docs/Makefile.am
@@ -1,5 +1,5 @@
 docdir = $(datadir)/doc/valgrind
 
-doc_DATA = index.html
+doc_DATA = hg_main.html
 
 EXTRA_DIST = $(doc_DATA)
diff --git a/helgrind/hg_main.html b/helgrind/docs/hg_main.html
similarity index 100%
rename from helgrind/hg_main.html
rename to helgrind/docs/hg_main.html
diff --git a/lackey/docs/Makefile.am b/lackey/docs/Makefile.am
index 39b9008..d11a50b 100644
--- a/lackey/docs/Makefile.am
+++ b/lackey/docs/Makefile.am
@@ -1,5 +1,5 @@
 docdir = $(datadir)/doc/valgrind
 
-doc_DATA = index.html
+doc_DATA = lk_main.html
 
 EXTRA_DIST = $(doc_DATA)
diff --git a/lackey/lk_main.html b/lackey/docs/lk_main.html
similarity index 100%
rename from lackey/lk_main.html
rename to lackey/docs/lk_main.html
diff --git a/memcheck/docs/Makefile.am b/memcheck/docs/Makefile.am
index e8a58fa..44229bf 100644
--- a/memcheck/docs/Makefile.am
+++ b/memcheck/docs/Makefile.am
@@ -1,5 +1,5 @@
 docdir = $(datadir)/doc/valgrind
 
-doc_DATA = index.html manual.html nav.html techdocs.html
+doc_DATA = mc_main.html mc_techdocs.html
 
 EXTRA_DIST = $(doc_DATA)
diff --git a/memcheck/mc_main.html b/memcheck/docs/mc_main.html
similarity index 100%
rename from memcheck/mc_main.html
rename to memcheck/docs/mc_main.html
diff --git a/memcheck/mc_techdocs.html b/memcheck/docs/mc_techdocs.html
similarity index 100%
rename from memcheck/mc_techdocs.html
rename to memcheck/docs/mc_techdocs.html
diff --git a/none/docs/Makefile.am b/none/docs/Makefile.am
index 39b9008..4fdc538 100644
--- a/none/docs/Makefile.am
+++ b/none/docs/Makefile.am
@@ -1,5 +1,5 @@
 docdir = $(datadir)/doc/valgrind
 
-doc_DATA = index.html
+doc_DATA = nl_main.html
 
 EXTRA_DIST = $(doc_DATA)
diff --git a/none/nl_main.html b/none/docs/nl_main.html
similarity index 100%
rename from none/nl_main.html
rename to none/docs/nl_main.html