[m-dev.] diff: make cgi/html extras a library

Tyson Dowd trd at cs.mu.OZ.AU
Fri Mar 24 14:49:02 AEDT 2000


Hi,

A while ago made the cgi/html stuff in extras available as a library.

===================================================================


Estimated hours taken: 1

extras/cgi/Mmakefile:
	Add a library building makefile.

extras/cgi/html.m:
	Import list, as it is used in the interface.

extras/cgi/mercury_www.m:
	The mercury_www library module.


Index: Mmakefile
===================================================================
RCS file: Mmakefile
diff -N Mmakefile
--- /dev/null	Thu Mar  4 04:20:11 1999
+++ Mmakefile	Fri Mar 24 14:45:42 2000
@@ -0,0 +1,12 @@
+
+%------------------------------------------------------
+
+LIBRARY = libmercury_www
+
+MAIN_TARGET = $(LIBRARY)
+
+depend: mercury_www.depend
+
+distclean: realclean
+
+
Index: html.m
===================================================================
RCS file: /home/mercury1/repository/mercury/extras/cgi/html.m,v
retrieving revision 1.1
diff -u -r1.1 html.m
--- html.m	1997/07/10 09:08:06	1.1
+++ html.m	2000/03/23 06:41:48
@@ -19,7 +19,7 @@
 
 :- module html.
 :- interface.
-:- import_module bool, io, string, std_util.
+:- import_module bool, io, string, std_util, list.
 
 %-----------------------------------------------------------------------------%
 
Index: mercury_www.m
===================================================================
RCS file: mercury_www.m
diff -N mercury_www.m
--- /dev/null	Thu Mar  4 04:20:11 1999
+++ mercury_www.m	Thu Mar 23 17:54:17 2000
@@ -0,0 +1,14 @@
+%-----------------------------------------------------------------------------%
+% Copyright (C) 1998 The University of Melbourne.
+% This file may only be copied under the terms of the GNU Library General
+% Public License - see the file COPYING.LIB in the Mercury distribution.
+%-----------------------------------------------------------------------------%
+%-----------------------------------------------------------------------------%
+
+% mercury_www -- a Mercury World Wide Web library.
+%
+
+:- module mercury_www.
+
+:- import_module cgi, html.
+


-- 
       Tyson Dowd           # 
                            #  Surreal humour isn't eveyone's cup of fur.
     trd at cs.mu.oz.au        # 
http://www.cs.mu.oz.au/~trd #
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list