mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-21 14:53:44 +03:00
applied fixes to allow build from 'outside' directory (Bug 129172)
* python/Makefile.am, python/tests/Makefile.am, doc/Makefile.am: applied fixes to allow build from 'outside' directory (Bug 129172)
This commit is contained in:
@@ -9,7 +9,7 @@ INCLUDES = \
|
||||
|
||||
DOCS_DIR = $(datadir)/doc/libxml2-python-$(LIBXML_VERSION)
|
||||
# libxml2class.txt is generated
|
||||
DOCS = TODO
|
||||
DOCS = ${srcdir}/TODO
|
||||
|
||||
EXTRA_DIST = \
|
||||
libxml.c \
|
||||
@@ -42,7 +42,7 @@ libxml2.py: $(srcdir)/libxml.py $(srcdir)/libxml2class.py
|
||||
install-data-local:
|
||||
$(mkinstalldirs) $(DESTDIR)$(pythondir)
|
||||
@INSTALL@ -m 0644 libxml2.py $(DESTDIR)$(pythondir)
|
||||
@INSTALL@ -m 0644 drv_libxml2.py $(DESTDIR)$(pythondir)
|
||||
@INSTALL@ -m 0644 $(srcdir)/drv_libxml2.py $(DESTDIR)$(pythondir)
|
||||
$(mkinstalldirs) $(DESTDIR)$(DOCS_DIR)
|
||||
@(for doc in $(DOCS) ; \
|
||||
do @INSTALL@ -m 0644 $$doc $(DESTDIR)$(DOCS_DIR) ; done)
|
||||
|
@@ -54,5 +54,5 @@ clean:
|
||||
install-data-local:
|
||||
$(mkinstalldirs) $(DESTDIR)$(EXAMPLE_DIR)
|
||||
-(for test in $(PYTESTS) $(XMLS); \
|
||||
do @INSTALL@ -m 0644 $$test $(DESTDIR)$(EXAMPLE_DIR) ; done)
|
||||
do @INSTALL@ -m 0644 $(srcdir)/$$test $(DESTDIR)$(EXAMPLE_DIR) ; done)
|
||||
|
||||
|
Reference in New Issue
Block a user