1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-22 04:01:59 +03:00

release of 2.4.20 updated and rebuilt the docs Daniel

* configure.in: release of 2.4.20
* doc/*: updated and rebuilt the docs
Daniel
This commit is contained in:
Daniel Veillard
2002-04-15 17:12:47 +00:00
parent f544f1935c
commit a7084cd57e
32 changed files with 2422 additions and 1969 deletions

View File

@ -144,6 +144,12 @@ createURI()
normalizeURIPath()
parseURI()
# functions from module valid
validateNameValue()
validateNamesValue()
validateNmtokenValue()
validateNmtokensValue()
# functions from module xmlIO
cleanupInputCallbacks()
cleanupOutputCallbacks()

View File

@ -11,6 +11,29 @@ def missing(file):
return 1
return 0
try:
import posix
HOME = posix.environ['HOME']
except:
HOME="C:"
includes_dir = [
"/usr/include",
"/usr/local/include",
"/opt/include",
HOME
];
xml_includes=""
for dir in includes_dir:
if not missing(dir + "/libxml2/libxml/tree.h"):
xml_includes=dir + "/libxml2"
break;
if xml_includes == "":
print "failed to find headers for libxml2: update includes_dir"
sys.exit(1)
xml_files = ["libxml2-api.xml", "libxml2-python-api.xml",
"libxml.c", "libxml.py", "libxml_wrap.h", "types.c",
"xmlgenerator.py", "README", "TODO"]
@ -66,11 +89,22 @@ if missing("libxslt-py.c") or missing("libxslt.py"):
else:
with_xslt=1
if with_xslt == 1:
xslt_includes=""
for dir in includes_dir:
if not missing(dir + "/libxslt/xsltconfig.h"):
xslt_includes=dir + "/libxslt"
break;
if xslt_includes == "":
print "failed to find headers for libxslt: update includes_dir"
with_xslt = 0
descr = "libxml2 package"
modules = [ 'libxml2' ]
c_files = ['libxml2-py.c', 'libxml.c', 'types.c' ]
includes= ["/usr/include/libxml2"]
includes= [xml_includes]
libs = ["xml2", "m", "z"]
macros = []
if with_xslt == 1:
@ -81,7 +115,7 @@ if with_xslt == 1:
#
c_files = c_files + ['libxslt-py.c', 'libxslt.c']
libs.insert(0, 'xslt')
includes.append("/usr/include/libxslt")
includes.append(xslt_includes)
modules.append('libxslt')
macros.append(('MERGED_MODULES', '1'))