[PATCH 25/35] abrt-python: fix makefiles

Richard Marko rmarko at redhat.com
Mon May 13 11:05:34 UTC 2013


config.py.in was not processed on make all causing
errors while building sphinx documentation.

Signed-off-by: Richard Marko <rmarko at redhat.com>
---
 src/python-problem/doc/Makefile.am     | 5 ++++-
 src/python-problem/problem/Makefile.am | 2 ++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/python-problem/doc/Makefile.am b/src/python-problem/doc/Makefile.am
index 8f70c08..1a332de 100644
--- a/src/python-problem/doc/Makefile.am
+++ b/src/python-problem/doc/Makefile.am
@@ -38,6 +38,9 @@ help:
 	@echo "  linkcheck  to check all external links for integrity"
 	@echo "  doctest    to run all doctests embedded in the documentation (if enabled)"
 
+problem-config:
+	cd ../problem && $(MAKE) $(AM_MAKEFLAGS) all
+
 clean-local:
 	-rm -rf $(BUILDDIR)/*
 
@@ -161,4 +164,4 @@ EXTRA_DIST = \
 
 man5_MANS = _build/man/abrt-python.5
 
-_build/man/abrt-python.5: man
+_build/man/abrt-python.5: problem-config man
diff --git a/src/python-problem/problem/Makefile.am b/src/python-problem/problem/Makefile.am
index 83acbd5..55b24f9 100644
--- a/src/python-problem/problem/Makefile.am
+++ b/src/python-problem/problem/Makefile.am
@@ -7,3 +7,5 @@ config.py: config.py.in
 		$< >$@
 
 EXTRA_DIST = config.py.in
+
+all-local: config.py
-- 
1.8.1.4



More information about the Crash-catcher mailing list