Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
libxml2
Commits
7a96efc0
Commit
7a96efc0
authored
Feb 05, 2002
by
Daniel Veillard
Browse files
do not install outside of prefix Daniel
* configure.in python/Makefile.am: do not install outside of prefix Daniel
parent
33caa0b8
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
7a96efc0
Tue Feb 5 17:33:30 CET 2002 Daniel Veillard <daniel@veillard.com>
* configure.in python/Makefile.am: do not install outside
of prefix
Mon Feb 4 15:05:55 CET 2002 Daniel Veillard <daniel@veillard.com>
* python/TODO python/libxml.c: started adding SAX interfaces
...
...
configure.in
View file @
7a96efc0
...
...
@@ -223,7 +223,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
...
...
python/Makefile.am
View file @
7a96efc0
...
...
@@ -25,6 +25,14 @@ libxml2.py: $(srcdir)/libxml.py libxml2class.py
_libxml.so
:
libxml.o libxml2-py.o types.o
$(CC)
$(LINK_FLAGS)
libxml.o libxml2-py.o types.o
$(LIBS)
-o
_libxml.so
install-data-local
:
$(mkinstalldirs)
$(DESTDIR)$(PYTHON_SITE_PACKAGES)
-
@INSTALL@
-m
0644 libxml2.py
$(DESTDIR)$(PYTHON_SITE_PACKAGES)
-
@INSTALL@
-m
0755 _libxml.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
...
...
@@ -54,11 +62,3 @@ tests: all
clean
:
rm
-f
$(GENERATED)
*
.o _libxml.so
*
.pyc libxml2.py
install-data-local
:
$(mkinstalldirs)
$(DESTDIR)$(PYTHON_SITE_PACKAGES)
-
@INSTALL@
-m
0644 libxml2.py
$(DESTDIR)$(PYTHON_SITE_PACKAGES)
-
@INSTALL@
-m
0755 _libxml.so
$(DESTDIR)$(PYTHON_SITE_PACKAGES)
$(mkinstalldirs)
$(DESTDIR)$(DOCS_DIR)
-
@
(
for
doc
in
$(DOCS)
;
\
do
@INSTALL@
-m
0644
$$
doc
$(DESTDIR)$(DOCS_DIR)
;
done
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment