mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-22 04:01:59 +03:00
fixed python/Makefile.am for bug 72012
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Sun Jul 21 19:15:00 HKT 2002 William Brack <wbrack@mmm.com.hk>
|
||||||
|
|
||||||
|
* python/Makefile.am: enhanced to fix bug 72012 (errors
|
||||||
|
when using '-jX' make parameter)
|
||||||
|
|
||||||
Fri Jul 19 16:35:00 HKT 2002 William Brack <wbrack@mmm.com.hk>
|
Fri Jul 19 16:35:00 HKT 2002 William Brack <wbrack@mmm.com.hk>
|
||||||
|
|
||||||
* xpath.c: small additional enhancement for booleans
|
* xpath.c: small additional enhancement for booleans
|
||||||
|
@ -28,7 +28,7 @@ if WITH_PYTHON
|
|||||||
mylibs = \
|
mylibs = \
|
||||||
$(top_builddir)/libxml2.la
|
$(top_builddir)/libxml2.la
|
||||||
|
|
||||||
all: libxml2.py libxml2mod.la
|
all_local: libxml2.py
|
||||||
|
|
||||||
pythondir = $(prefix)/lib/python${PYTHON_VERSION}/site-packages
|
pythondir = $(prefix)/lib/python${PYTHON_VERSION}/site-packages
|
||||||
python_LTLIBRARIES = libxml2mod.la
|
python_LTLIBRARIES = libxml2mod.la
|
||||||
@ -53,8 +53,11 @@ GENERATED= $(srcdir)/libxml2class.py \
|
|||||||
$(srcdir)/libxml2-py.c \
|
$(srcdir)/libxml2-py.c \
|
||||||
$(srcdir)/libxml2-py.h
|
$(srcdir)/libxml2-py.h
|
||||||
|
|
||||||
$(GENERATED): $(srcdir)/$(GENERATE) $(API_DESC)
|
$(GENERATED): gen_prog
|
||||||
|
|
||||||
|
gen_prog: $(srcdir)/$(GENERATE) $(API_DESC)
|
||||||
cd $(srcdir) && $(PYTHON) $(GENERATE)
|
cd $(srcdir) && $(PYTHON) $(GENERATE)
|
||||||
|
touch gen_prog
|
||||||
|
|
||||||
$(libxml2mod_la_OBJECTS): $(GENERATED)
|
$(libxml2mod_la_OBJECTS): $(GENERATED)
|
||||||
|
|
||||||
@ -65,5 +68,5 @@ tests test: all
|
|||||||
cd tests && $(MAKE) tests
|
cd tests && $(MAKE) tests
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(GENERATED) *.o _libxml.so *.pyc libxml2.py
|
rm -f $(GENERATED) *.o _libxml.so *.pyc libxml2.py gen_prog
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user