Commit e8313146 authored by Pietro Abate's avatar Pietro Abate

[r2003-12-03 12:24:16 by beppe] Empty log message

Original author: beppe
Date: 2003-12-03 12:24:17+00:00
parent 29b89986
......@@ -25,6 +25,11 @@ ocamlnet => 0.94
http://www.ocaml-programming.de/packages
pxp => 1.9.94.2
http://www.ocaml-programming.de/packages/documentation/pxp/index_dev.html
Furthermore if you want to load xml, html, and schema files remotely on the
web (http, https, ftp, ...: e.g. load_html "http://www.cduce.org") you will
also need:
ocurl => 0.15
http://sourceforge.net/projects/ocurl/
......@@ -61,7 +66,9 @@ Important notes:
and build pxp -with-wlex*. When building CDuce you still have the
choice whether to use wlex or camllex (see PXP_WLEX option below)
- ocurl: you may also need to install libcurl (http://curl.haxx.se/libcurl/)
- ocurl:
you may also need to install libcurl (http://curl.haxx.se/libcurl/)
To use it you have to set the variable CURL = true.
Efficiency issues:
......@@ -79,7 +86,7 @@ Compilation
THE FAST WAY:
- check local settings in Makefile.conf [optional]
- check local settings in Makefile.conf or do "make help" [optional]
- make all && make install
......@@ -88,12 +95,18 @@ THE WISE WAY:
You need a GNU Make (or equivalent) to use the Makefile from the
distribution. It defines the following goals:
- make help
print a summary of what follows
- make cduce
compiles the CDuce command line interpreter
- make dtd2cduce
compiles the dtd2cduce tools (converts DTD to CDuce types)
- make validate
compiles the schema validation tool
- make webiface
compiles the CDuce web interface interpreter (to be used as a CGI script)
......@@ -105,11 +118,11 @@ distribution. It defines the following goals:
compiles webiface and webpages, and install everything (see Makefile.conf)
- make all
equivalent to (make cduce dtd2cduce)
equivalent to (make cduce dtd2cduce validate)
- make install
it installs
cduce and dtd2cduce into $(PREFIX)/bin
cduce validate and dtd2cduce into $(PREFIX)/bin
cduce.1 into $(PREFIX)/man/man1
(see PREFIX below)
......@@ -117,7 +130,7 @@ distribution. It defines the following goals:
back to the starting point
- make uninstall
removes installe files
removes installed files
Makefile accepts at least the following options.
......@@ -133,6 +146,9 @@ PXP_WLEX=false: use ocamllex for parsing UTF-8 XML files
EXPAT=true: build expat support (see below)
default: false
OCURL=true: build ocurl support
default: false
PREFIX=/usr/local by default: where to install CDuce files (see
Makefile.conf)
......
......@@ -14,7 +14,7 @@ PXP_WLEX = false
EXPAT = false
# use curl library for load remote xml files and schemas
CURL = false
CURL = true
# Installation directory
# cduce and dtd2cduce => $(PREFIX)/bin
......
......@@ -81,6 +81,27 @@ endif
INSTALL := $(shell which install)
help:
@echo "GOALS"
@echo " cduce : compiles the CDuce command line interpreter"
@echo " dtd2cduce : compiles the dtd2cduce tools"
@echo " webiface : compiles the CDuce web interface interpreter (CGI script)"
@echo " webpages : compiles in web/www/ the files for the CDuce website"
@echo " (including the tutorial and manual)"
@echo " install_web : compiles webiface and webpages, and install everything"
@echo " all : equivalent to (make cduce dtd2cduce validate)"
@echo " install : install cduce dtd2cduce, validate et man pages"
@echo " clean : back to the starting point"
@echo " uninstall : remove installed files"
@echo ""
@echo "OPTIONS (default value in brackets)"
@echo " PREFIX=<path> : set the prefix for installation [/usr/local]"
@echo " NATIVE=false : use the OCaml native code compiler to build CDuce [true]"
@echo " PXP_WLEX=true : use wlex for parsing UTF-8 XML files [false]"
@echo " EXPAT=true : build expat support [false]"
@echo " OCURL=true: build ocurl support [false]"
all: cduce dtd2cduce validate
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment