summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/telepathy/telepathy-python-0.15.19/parallel_make.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/telepathy/telepathy-python-0.15.19/parallel_make.patch')
-rw-r--r--meta/recipes-connectivity/telepathy/telepathy-python-0.15.19/parallel_make.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/telepathy/telepathy-python-0.15.19/parallel_make.patch b/meta/recipes-connectivity/telepathy/telepathy-python-0.15.19/parallel_make.patch
new file mode 100644
index 0000000000..145e17b197
--- /dev/null
+++ b/meta/recipes-connectivity/telepathy/telepathy-python-0.15.19/parallel_make.patch
@@ -0,0 +1,40 @@
1Add dependency of __init__.py
2
3Tasks must be done after exec of __init__, which creates the
4src/_generated directory that tasks are based on.
5
6Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
7
8diff -ruN telepathy-python-0.15.19-orig/src/Makefile.am telepathy-python-0.15.19/src/Makefile.am
9--- telepathy-python-0.15.19-orig/src/Makefile.am 2011-03-10 08:51:49.000000000 +0800
10+++ telepathy-python-0.15.19/src/Makefile.am 2011-03-10 08:54:45.000000000 +0800
11@@ -39,17 +39,17 @@
12 XSLTPROC_OPTS = --nonet --novalid --xinclude
13 tools_dir = $(top_srcdir)/tools
14
15-_generated/interfaces.py: $(tools_dir)/python-interfaces-generator.xsl $(wildcard $(spec_dir)/*.xml)
16+_generated/interfaces.py: _generated/__init__.py $(tools_dir)/python-interfaces-generator.xsl $(wildcard $(spec_dir)/*.xml)
17 $(AM_V_GEN)$(XSLTPROC) $(XSLTPROC_OPTS) -o $@ \
18 $(tools_dir)/python-interfaces-generator.xsl \
19 $(spec_dir)/all.xml
20
21-_generated/constants.py: $(tools_dir)/python-constants-generator.xsl $(wildcard $(spec_dir)/*.xml)
22+_generated/constants.py: _generated/__init__.py $(tools_dir)/python-constants-generator.xsl $(wildcard $(spec_dir)/*.xml)
23 $(AM_V_GEN)$(XSLTPROC) $(XSLTPROC_OPTS) -o $@ \
24 $(tools_dir)/python-constants-generator.xsl \
25 $(spec_dir)/all.xml
26
27-_generated/errors.py: $(tools_dir)/python-errors-generator.xsl $(wildcard $(spec_dir)/*.xml)
28+_generated/errors.py: _generated/__init__.py $(tools_dir)/python-errors-generator.xsl $(wildcard $(spec_dir)/*.xml)
29 $(AM_V_GEN)$(XSLTPROC) $(XSLTPROC_OPTS) -o $@ \
30 $(tools_dir)/python-errors-generator.xsl \
31 $(spec_dir)/all.xml
32@@ -58,7 +58,7 @@
33 $(AM_V_GEN)$(mkdir_p) $(dir $@)
34 @echo "# Placeholder for package" > $@
35
36-_generated/%.py: $(tools_dir)/spec-to-python.xsl $(spec_dir)/%.xml
37+_generated/%.py: _generated/__init__.py $(tools_dir)/spec-to-python.xsl $(spec_dir)/%.xml
38 $(AM_V_GEN)$(XSLTPROC) $(XSLTPROC_OPTS) -o $@ \
39 $(tools_dir)/spec-to-python.xsl \
40 $(spec_dir)/$*.xml