1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-28 00:21:53 +03:00

typo in target name resulted in libxml2.py to not be rebuilt. fixed

* python/Makefile.am: typo in target name resulted in libxml2.py
  to not be rebuilt. fixed DESTDIR similary to the libxslt one.
Daniel
This commit is contained in:
Daniel Veillard
2002-08-22 09:47:29 +00:00
parent 22669b268c
commit 08cccaa05a
2 changed files with 11 additions and 6 deletions

View File

@ -28,7 +28,7 @@ if WITH_PYTHON
mylibs = \
$(top_builddir)/libxml2.la
all_local: libxml2.py
all-local: libxml2.py
pythondir = $(libdir)/python${PYTHON_VERSION}/site-packages
python_LTLIBRARIES = libxml2mod.la
@ -40,11 +40,11 @@ libxml2.py: $(srcdir)/libxml.py libxml2class.py
cat $(srcdir)/libxml.py libxml2class.py > libxml2.py
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(PYTHON_SITE_PACKAGES)
-@INSTALL@ -m 0644 libxml2.py $(DESTDIR)$(PYTHON_SITE_PACKAGES)
$(mkinstalldirs) $(DESTDIR)$(DOCS_DIR)
-@(for doc in $(DOCS) ; \
do @INSTALL@ -m 0644 $$doc $(DESTDIR)$(DOCS_DIR) ; done)
$(mkinstalldirs) $(libdir)/python${PYTHON_VERSION}/site-packages
@INSTALL@ -m 0644 libxml2.py $(libdir)/python${PYTHON_VERSION}/site-packages
$(mkinstalldirs) $(DOCS_DIR)
@(for doc in $(DOCS) ; \
do @INSTALL@ -m 0644 $$doc $(DOCS_DIR) ; done)
GENERATE = generator.py
API_DESC = $(top_srcdir)/doc/libxml2-api.xml $(srcdir)/libxml2-python-api.xml