Subject: rev 16 - trunk trunk/www trunk/docs

From: [email-masked]
Date: Wed, 21 Aug 2002 16:54:05 -0500

Author: kfogel
Date: Wed, 21 Aug 2002 16:54:00 -0500
New Revision: 16

Modified:
   trunk/Makefile.in
   trunk/dist.sh
   trunk/docs/Makefile.in
   trunk/docs/ale.texi
   trunk/www/index.html.in
Log:
Generate HTML documentation and link to it on the web site:

* docs/Makefile.in (%.html): New rule to generate ale.html.

* docs/ale.texi (Top): Wrap with @ifnottex, not @ifinfo, since we
  generate html now too.

* Makefile.in: Don't copy the dist into the www area anymore, let
  dist.sh do it instead, see below.

* dist.sh: Copy the dist tarball and the html documentation into www.

* www/index.html.in: Link to the online documentation.

Modified: trunk/Makefile.in
==============================================================================
--- trunk/Makefile.in	(original)
+++ trunk/Makefile.in	Wed Aug 21 16:54:04 2002
@@ -150,7 +150,6 @@
 	done
 	tar cvf - ${DISTDIR} | ${GZIP} > ${DISTDIR}.tar${GZIP_EXT}
 	rm -rf ${DISTDIR}
-	mv ${DISTDIR}.tar${GZIP_EXT} www/
 
 dist-dir:
 	mkdir ${DISTDIR}

Modified: trunk/www/index.html.in
==============================================================================
--- trunk/www/index.html.in	(original)
+++ trunk/www/index.html.in	Wed Aug 21 16:54:04 2002
@@ -62,17 +62,21 @@
 
 <ul>
   <li><a href="ale-@VERSION@.tar.gz"
-      >Download prepackaged source code to Ale @VERSION@</a>
+      >Download prepackaged source code to Ale @VERSION@.</a>
   </li>
 <br>
   <li><a href="http://svn.red-bean.com:8080/ale/trunk/"
-      >Browse the Ale repository</a>
+      >Browse the Ale repository.</a>
   </li>
-<!-- 
 <br>
-  <li>Read Ale's documentation online (<i>not yet available</i>)
+  <li><a href="ale.html">Read Ale's documentation online.</a>
+  </li>
+<!--
+<br>
+  <li> todo: we need some screenshots too
   </li>
 -->
+</ul>
 </ul>
 
 <p>

Modified: trunk/docs/Makefile.in
==============================================================================
--- trunk/docs/Makefile.in	(original)
+++ trunk/docs/Makefile.in	Wed Aug 21 16:54:04 2002
@@ -6,7 +6,7 @@
 # % looks better when embedded in a line with cmr10.

-all: ale.ps ale.dvi ale.info
+all: ale.ps ale.dvi ale.info ale.html
 
 VERSION=@VERSION@
 ARCHITECTURE=@ARCHITECTURE@
@@ -66,3 +66,5 @@
 	tex $<
 %.info: %.texi
 	makeinfo $< -o $*.info
+%.html: %.texi
+	makeinfo --no-split --html -o $@ $<

Modified: trunk/docs/ale.texi
==============================================================================
--- trunk/docs/ale.texi	(original)
+++ trunk/docs/ale.texi	Wed Aug 21 16:54:04 2002
@@ -50,7 +50,7 @@

 @c  -*-  -*-  -*-  -*-  -*-  -*-  -*-  -*-  -*-  -*-  -*-
-@ifinfo
+@ifnottex
 @node Top, Introduction, (dir), (dir)
 @top Ale
 
@@ -75,7 +75,7 @@
 browsing system, press @kbd{h}.  If you already have some experience with
 Info, but have a specific question, you might want to try pressing @kbd{?}.
 
-@end ifinfo
+@end ifnottex
 
 @menu
 * Introduction::                What Ale is, and some advice on using it.

Modified: trunk/dist.sh
==============================================================================
--- trunk/dist.sh	(original)
+++ trunk/dist.sh	Wed Aug 21 16:54:05 2002
@@ -10,4 +10,6 @@
   ./autogen.sh
   ./configure
   make dist
+  mv ale-*.tar.gz www/
+  cp docs/ale*.html www/
 fi