You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_dtcl-cvs@tcl.apache.org by da...@apache.org on 2001/07/10 19:10:20 UTC

cvs commit: tcl-moddtcl/docs index.html documentation.html documentation.txt

davidw      01/07/10 10:10:19

  Modified:    .        Makefile builddtcl.sh
               docs     index.html
  Removed:     docs     documentation.html documentation.txt
  Log:
  documentation.html now generated from other files.
  
  Revision  Changes    Path
  1.16      +8 -5      tcl-moddtcl/Makefile
  
  Index: Makefile
  ===================================================================
  RCS file: /home/cvs/tcl-moddtcl/Makefile,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- Makefile	2001/07/06 12:48:12	1.15
  +++ Makefile	2001/07/10 17:09:52	1.16
  @@ -1,4 +1,4 @@
  -# $Id: Makefile,v 1.15 2001/07/06 12:48:12 davidw Exp $
  +# $Id: Makefile,v 1.16 2001/07/10 17:09:52 davidw Exp $
   
   # Changed to use the Tcl variables from tclConfig.sh
   
  @@ -22,10 +22,10 @@
   
   all: builddtcl_test shared
   
  -static: $(OBJECTS) docs/documentation.txt
  +static: $(OBJECTS) docs/documentation.html
   	$(TCL_STLIB_LD) $(STATICLIB) $(OBJECTS) 
   
  -shared: $(OBJECTS) docs/documentation.txt
  +shared: $(OBJECTS) docs/documentation.html
   	$(TCL_SHLIB_LD) -o $(SHLIB) $(OBJECTS) $(TCL_LIB_SPEC) $(TCL_LIBS)
   
   # I don't have too many C files, so it's just clearer to do things by
  @@ -45,13 +45,16 @@
   	$(COMPILE)
   
   clean: 
  -	-rm -f $(STATICLIB) $(SHLIB) *.o *~ docs/documentation.txt
  +	-rm -f $(STATICLIB) $(SHLIB) *.o *~ docs/documentation.txt docs/documentation.html
   
   version: 
   	./cvsversion.tcl
   
  +docs/documentation.html:
  +	$(TCLSH) ./docs/split.tcl docs/install.html docs/directives.html docs/commands.html docs/other.html > docs/documentation.html
  +
   docs/documentation.txt:
  -	if test -x `which lynx` ; then 	lynx -dump ./docs/documentation.html > ./docs/documentation.txt ; else echo "You need lynx to create documentation.txt from documentation.html" ; fi
  +	if test -x `which html2text` ; then html2text ./docs/documentation.html > ./docs/documentation.txt ; else echo "You need html2text to create documentation.txt from documentation.html" ; fi
   
   dist: clean docs/documentation.txt version
   	(cd .. ; tar -czvf mod_dtcl-`cat mod_dtcl/VERSION`.tar.gz mod_dtcl/ ; )
  
  
  
  1.13      +2 -1      tcl-moddtcl/builddtcl.sh
  
  Index: builddtcl.sh
  ===================================================================
  RCS file: /home/cvs/tcl-moddtcl/builddtcl.sh,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- builddtcl.sh	2001/05/01 15:56:01	1.12
  +++ builddtcl.sh	2001/07/10 17:09:54	1.13
  @@ -1,5 +1,5 @@
   #!/bin/sh
  -# $Id: builddtcl.sh,v 1.12 2001/05/01 15:56:01 davidw Exp $
  +# $Id: builddtcl.sh,v 1.13 2001/07/10 17:09:54 davidw Exp $
   
   # Name of tclsh - on FreeBSD, this is probably tclsh8.2
   TCLSH=tclsh  ######### CHANGEME ##########
  @@ -59,6 +59,7 @@
   echo "Using tclConfig.sh: $CONFIG"
   . $CONFIG
   
  +export TCLSH
   export TCL_CC
   export TCL_CFLAGS_DEBUG 
   export TCL_CFLAGS_OPTIMIZE 
  
  
  
  1.2       +2 -4      tcl-moddtcl/docs/index.html
  
  Index: index.html
  ===================================================================
  RCS file: /home/cvs/tcl-moddtcl/docs/index.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- index.html	2001/06/15 17:19:46	1.1
  +++ index.html	2001/07/10 17:10:12	1.2
  @@ -4,14 +4,12 @@
       <title>mod_dtcl documentation</title>
       <link rel="stylesheet" href="style.css">
     </head>
  -
  - <frameset rows="80,*">
  +  <frameset rows="80,*">
       <frame frameborder=0 src="top.html">
       <frameset cols="120,*">
         <frame frameborder=0 src="nav.html">
         <frame frameborder=0 name="right" src="commands.html">
       </frameset>
     </frameset>
  -  </body>
   </html>
  -<!-- $Id: index.html,v 1.1 2001/06/15 17:19:46 davidw Exp $ -->
  +<!-- $Id: index.html,v 1.2 2001/07/10 17:10:12 davidw Exp $ -->