telepathy-python: apply dont-install-generated-errors.py-twice.patch from upstream

This commit is contained in:
davehome 2011-10-21 05:19:53 +00:00
parent 69b446016f
commit afb53d073b
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
diff --git a/src/Makefile.am b/src/Makefile.am
index 135f2f0..ede1fc3 100644
--- Makefile.am
+++ Makefile.am
@@ -13,10 +13,12 @@ telepathy_PYTHON = \
spec_dir = $(top_srcdir)/spec
spec_files := $(patsubst $(spec_dir)%.xml,_generated%.py,$(wildcard $(spec_dir)/*.xml))
+# We leave _generated/errors.py out of here because there exists a
+# spec/errors.xml file, so that means there'll be a
+# _generated/errors.py in $(spec_files). See fd.o#32526
BUILT_SOURCES = \
_generated/interfaces.py \
_generated/constants.py \
- _generated/errors.py \
_generated/__init__.py \
$(spec_files)