tcl-mod_dtcl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject cvs commit: mod_dtcl/docs documentation.html
Date Thu, 08 Mar 2001 14:41:54 GMT
davidw      01/03/08 06:41:53

  Modified:    .        Makefile builddtcl.sh
               docs     documentation.html
  Log:
  Fixed up build script and makefile.
  
  Updates to documentation.
  
  Revision  Changes    Path
  1.9       +10 -14    mod_dtcl/Makefile
  
  Index: Makefile
  ===================================================================
  RCS file: /home/cvs/mod_dtcl/Makefile,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Makefile	2001/03/01 18:31:25	1.8
  +++ Makefile	2001/03/08 14:41:48	1.9
  @@ -1,37 +1,33 @@
  -# $Id: Makefile,v 1.8 2001/03/01 18:31:25 davidw Exp $
  +# $Id: Makefile,v 1.9 2001/03/08 14:41:48 davidw Exp $
   
   # Changed to use the Tcl variables from tclConfig.sh
   
   # You may have to change these if 'builddtcl.sh' and 'findconfig.tcl'
   # don't work.
   
  -TCL_LIB=$(TCL_LIB_FLAG)
  -OPTIM=$(TCL_CFLAGS_OPTIMIZE)
  -CC=$(TCL_CC)
  -CFLAGS_SHLIB=$(TCL_SHLIB_CFLAGS) -DSHARED_MODULE
  -LDFLAGS_SHLIB=-Bshareable
  -
  -DEBUG=-g
  -CFLAGS=-Wall $(OPTIM) $(EXTRA_CFLAGS)
  -# You must change the following line unless you have the Debian apache-dev package
  +# You must change the following line unless you have the Debian
  +# apache-dev package
  +
   INCLUDES=-I/usr/include/apache-1.3/
   INCDIR=$(SRCDIR)/include
   
   STATICLIB=mod_dtcl.a
  -SHLIB=mod_dtcl.so
  +SHLIB=mod_dtcl$(TCL_SHLIB_SUFFIX)
   
   APREQ_OBJECTS=apache_cookie.o apache_multipart_buffer.o apache_request.o
   OBJECTS=mod_dtcl.o tcl_commands.o $(APREQ_OBJECTS)
  +
  +# The following TCL_* variables are all exported from builddtcl.sh
   
  -COMPILE=$(CC) $(DEBUG) -c $(INCLUDES) $(CFLAGS) $<
  +COMPILE=$(TCL_CC) $(TCL_CFLAGS_DEBUG) $(TCL_CFLAGS_OPTIMIZE) $(TCL_CFLAGS_WARNING) $(TCL_SHLIB_CFLAGS)
-c $(INCLUDES) $(CFLAGS) $(TCL_EXTRA_CFLAGS) $<
   
   all: builddtcl_test shared
   
   static: $(OBJECTS)
  -	ar cr $(STATICLIB) $(OBJECTS) 
  +	$(TCL_STLIB_LD) $(STATICLIB) $(OBJECTS) 
   
   shared: $(OBJECTS)
  -	$(LD) $(LDFLAGS_SHLIB) -o $(SHLIB) $(OBJECTS) $(TCL_LIB)
  +	$(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
   # hand
  
  
  
  1.5       +15 -6     mod_dtcl/builddtcl.sh
  
  Index: builddtcl.sh
  ===================================================================
  RCS file: /home/cvs/mod_dtcl/builddtcl.sh,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- builddtcl.sh	2001/02/16 13:10:06	1.4
  +++ builddtcl.sh	2001/03/08 14:41:49	1.5
  @@ -1,5 +1,5 @@
   #!/bin/sh
  -# $Id: builddtcl.sh,v 1.4 2001/02/16 13:10:06 davidw Exp $
  +# $Id: builddtcl.sh,v 1.5 2001/03/08 14:41:49 davidw Exp $
   
   # Name of tclsh - on FreeBSD, this is probably tclsh8.2
   TCLSH=tclsh  ######### CHANGEME ##########
  @@ -53,16 +53,25 @@
   # find location of tclConfig.sh, source it, and export variables to
   # make them available to 'make'
   
  -. `$TCLSH ./findconfig.tcl`
  +export CONFIG=`$TCLSH ./findconfig.tcl`
  +echo "Using tclConfig.sh: $CONFIG"
  +. $CONFIG
   
  -export TCL_VERSION
   export TCL_CC
  +export TCL_CFLAGS_DEBUG 
  +export TCL_CFLAGS_OPTIMIZE 
  +export TCL_CFLAGS_WARNING 
  +export TCL_EXTRA_CFLAGS
  +export TCL_LIBS
  +export TCL_LIB_FLAG 
  +export TCL_LIB_SPEC
   export TCL_SHLIB_CFLAGS
  -export TCL_CFLAGS_OPTIMIZE
  -export TCL_LIB_FLAG
  +export TCL_SHLIB_LD
  +export TCL_SHLIB_SUFFIX
  +export TCL_STLIB_LD 
   
   export BUILDDTCL="YES"
  -export C_INCLUDE_PATH
  +#export C_INCLUDE_PATH
   
   # pass the first argument to make
   make -e $1
  
  
  
  1.6       +16 -8     mod_dtcl/docs/documentation.html
  
  Index: documentation.html
  ===================================================================
  RCS file: /home/cvs/mod_dtcl/docs/documentation.html,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- documentation.html	2001/03/01 18:31:57	1.5
  +++ documentation.html	2001/03/08 14:41:51	1.6
  @@ -1,4 +1,4 @@
  -<!-- $Id: documentation.html,v 1.5 2001/03/01 18:31:57 davidw Exp $ -->
  +<!-- $Id: documentation.html,v 1.6 2001/03/08 14:41:51 davidw Exp $ -->
         <h2>mod_dtcl Documentation</h2>
         
         <h3>1) Installation</h3>
  @@ -237,8 +237,8 @@
   	  URI. <b>Must</b> be done in the first block of TCL code.
   	</li>
   	<li>
  -	  <code><b>headers setcookie <i>cookie-name
  -		cookie-value ?-expires date/time? ?-domain domain?
  +	  <code><b>headers setcookie <i>-name cookie-name
  +		-value cookie-value ?-expires date/time? ?-domain domain?
   		?-path path? ?-secure?</i></b></code><br>
   
   	  This command is for setting cookies.  Cookie-name is
  @@ -345,7 +345,11 @@
   	  .ttml files to the new format by using the
   	  <code>newtags.sh</code> script in the contrib/ directory.
   	  Run it at the top level of your DocumentRoot.
  -
  +	</li>
  +	<li><b>headers setcookie</b><br>
  +	  The <code>headers setcookie</code> command now uses the
  +	  <code>-name</code> and <code>-value</code> flags for those
  +	  arguments, whereas this was not necessary in the past.
   	</li>
         </ul>
   
  @@ -369,8 +373,12 @@
   	  </p>
   	</li>
         </ul>
  +
  +      
  +      <!-- The load dtd is so that I can work on the documentation
  +      with emacs' SGML in all its glory - davidw  -->
   
  -      <!--
  -      Local Variables: ***      
  -      End: ***
  -      -->
  +      <!-- Local Variables: -->
  +      <!-- eval: (sgml-load-dtd "~/html.ced") -->
  +      <!-- End: -->
  +      
  \ No newline at end of file
  
  
  

Mime
View raw message