1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-07-29 15:41:13 +03:00

fixed bug 87230, also multiple make jobs in python directory

This commit is contained in:
William M. Brack
2002-07-21 11:08:24 +00:00
parent 9faf854434
commit 2864c3854e
5 changed files with 18 additions and 5 deletions

View File

@ -30,7 +30,7 @@ mylibs = \
$(top_builddir)/libxslt/libxslt.la \
$(top_builddir)/libexslt/libexslt.la
all: libxslt.py libxsltmod.la
all-local: libxslt.py
pythondir = $(prefix)/lib/python${PYTHON_VERSION}/site-packages
python_LTLIBRARIES = libxsltmod.la
@ -55,8 +55,11 @@ GENERATED= $(srcdir)/libxsltclass.py \
$(srcdir)/libxslt-py.c \
$(srcdir)/libxslt-py.h
$(GENERATED): $(srcdir)/$(GENERATE) $(API_DESC)
$(GENERATED): gen_prog
gen_prog: $(srcdir)/$(GENERATE) $(API_DESC)
cd $(srcdir) && $(PYTHON) $(GENERATE)
touch gen_prog
$(libxsltmod_la_OBJECTS): $(GENERATED)
@ -67,5 +70,5 @@ tests test: all
cd tests && $(MAKE) tests
clean:
rm -f $(GENERATED) *.o libxslt.so *.pyc libxslt.py
rm -f $(GENERATED) *.o libxslt.so *.pyc libxslt.py gen_prog