1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-07-29 15:41:13 +03:00

do not install outside of prefix, make sure the API get shipped. Daniel

* configure.in doc/Makefile.am: do not install outside of prefix,
  make sure the API get shipped.
Daniel
This commit is contained in:
Daniel Veillard
2002-02-05 16:37:05 +00:00
parent db01856562
commit 0902ad194c
6 changed files with 28 additions and 11 deletions

View File

@ -1,3 +1,8 @@
Tue Feb 5 17:35:00 CET 2002 Daniel Veillard <daniel@veillard.com>
* configure.in doc/Makefile.am: do not install outside of prefix,
make sure the API get shipped.
Mon Feb 4 19:47:32 CET 2002 Daniel Veillard <daniel@veillard.com>
* libxslt/pattern.[ch] doc/libxslt-api.xml doc/libxslt-refs.xml:

View File

@ -150,8 +150,16 @@ if test "$with_python" != "no" ; then
then
PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[[0:3]]"`
echo Found Python version $PYTHON_VERSION
LIBXML2_PYTHON=`python -c "try : import libxml2 ; print 1
except: print 0"`
if test "$LIBXML2_PYTHON" == "1"
then
echo Found libxml2-python module
else
echo Missing libxml2-python
fi
if test "$PYTHON_VERSION" != ""
fi
if test "$PYTHON_VERSION" != "" -a "$LIBXML2_PYTHON" == "1"
then
if test -r $with_python/include/python$PYTHON_VERSION/Python.h -a \
-d $with_python/lib/python$PYTHON_VERSION/site-packages
@ -167,7 +175,7 @@ if test "$with_python" != "no" ; then
if test -r /usr/include/python$PYTHON_VERSION/Python.h
then
PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION
PYTHON_SITE_PACKAGES=/usr/lib/python$PYTHON_VERSION/site-packages
PYTHON_SITE_PACKAGES='$(prefix)/lib/python$(PYTHON_VERSION)/site-packages'
else
echo could not find python$PYTHON_VERSION/Python.h
fi

View File

@ -1,4 +1,6 @@
## Process this file with automake to produce Makefile.in
EXTRA_DIST = \
libxslt-api.xml
# The name of the module.
DOC_MODULE=libxslt-$(VERSION)

View File

@ -1081,8 +1081,8 @@
<arg name='ctxt' type='xsltTransformContextPtr'/>
<arg name='node' type='xmlNodePtr' info='a node in the source tree '/>
<arg name='pattern' type='const xmlChar *' info='an XSLT pattern '/>
<arg name='ctxtdoc' type='xmlDocPtr'/>
<arg name='ctxtnode' type='xmlNodePtr'/>
<arg name='ctxtdoc' type='xmlDocPtr' info='context document (for namespaces) '/>
<arg name='ctxtnode' type='xmlNodePtr' info='context node (for namespaces) '/>
</function>
<function name='xsltMessage' file='xsltutils'>
<info>Process and xsl:message construct</info>

View File

@ -3156,6 +3156,7 @@
<ref name='xsltCopyNamespaceList'/>
<ref name='xsltEvalXPathPredicate'/>
<ref name='xsltFreeNamespaceAliasHashes'/>
<ref name='xsltMatchPattern'/>
</word>
<word name='need'>
<ref name='xsltEvalGlobalVariables'/>

View File

@ -26,6 +26,14 @@ libxslt.py: $(srcdir)/libxsl.py libxsltclass.py
_libxslt.so: libxslt.o libxslt-py.o types.o
$(CC) $(LINK_FLAGS) libxslt.o libxslt-py.o types.o $(LIBS) -o _libxslt.so
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(PYTHON_SITE_PACKAGES)
-@INSTALL@ -m 0644 libxslt.py $(DESTDIR)$(PYTHON_SITE_PACKAGES)
-@INSTALL@ -m 0755 _libxslt.so $(DESTDIR)$(PYTHON_SITE_PACKAGES)
$(mkinstalldirs) $(DESTDIR)$(DOCS_DIR)
-@(for doc in $(DOCS) ; \
do @INSTALL@ -m 0644 $$doc $(DESTDIR)$(DOCS_DIR) ; done)
else
all:
endif
@ -55,11 +63,4 @@ tests: all
clean:
rm -f $(GENERATED) *.o _libxslt.so *.pyc libxslt.py
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(PYTHON_SITE_PACKAGES)
-@INSTALL@ -m 0644 libxslt.py $(DESTDIR)$(PYTHON_SITE_PACKAGES)
-@INSTALL@ -m 0755 _libxslt.so $(DESTDIR)$(PYTHON_SITE_PACKAGES)
$(mkinstalldirs) $(DESTDIR)$(DOCS_DIR)
-@(for doc in $(DOCS) ; \
do @INSTALL@ -m 0644 $$doc $(DESTDIR)$(DOCS_DIR) ; done)