1
0
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:
William M. Brack
2003-12-21 10:14:35 +00:00
parent e1f70496c8
commit cafe885168
4 changed files with 9 additions and 4 deletions

View File

@@ -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)

View File

@@ -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)