diff options
author | Theppitak Karoonboonyanan <thep@linux.thai.net> | 2010-07-02 18:19:57 +0700 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2010-09-06 13:55:15 -0300 |
commit | 26c66df6bdc3e3ce836c7462958fa38cc3e1062f (patch) | |
tree | daa792f3ca721f328848887c9f5e35f4ee20098a /giscanner | |
parent | a17f157e19bd6792c00321c8020dca5e5a281f45 (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.am | 9 |
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) \ |