summaryrefslogtreecommitdiff
path: root/giscanner
diff options
context:
space:
mode:
authorTheppitak Karoonboonyanan <thep@linux.thai.net>2010-07-02 18:19:57 +0700
committerJohan Dahlin <johan@gnome.org>2010-09-06 13:55:15 -0300
commit26c66df6bdc3e3ce836c7462958fa38cc3e1062f (patch)
treedaa792f3ca721f328848887c9f5e35f4ee20098a /giscanner
parenta17f157e19bd6792c00321c8020dca5e5a281f45 (diff)
Fix non-source-dir build failure
Make sure all giscanner python files are available in builddir, so the module is invokable during build time. https://bugzilla.gnome.org/show_bug.cgi?id=571591 Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net>
Diffstat (limited to 'giscanner')
-rw-r--r--giscanner/Makefile.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/giscanner/Makefile.am b/giscanner/Makefile.am
index a2044cf..05724dc 100644
--- a/giscanner/Makefile.am
+++ b/giscanner/Makefile.am
@@ -56,6 +56,15 @@ pkgpyexec_PYTHON = \
utils.py \
xmlwriter.py
+# Make sure all python files are available in builddir, so the module can be
+# invoked by other tools during build time
+all-local:
+ for file in $(pkgpyexec_PYTHON); do \
+ if [ ! -f $$file ]; then \
+ $(LN_S) $(srcdir)/$$file $$file; \
+ fi \
+ done
+
_giscanner_la_CFLAGS = \
$(PYTHON_INCLUDES) \
$(GOBJECT_CFLAGS) \