[gnome-maps] Fix make distcheck



commit 41dc441db8038b652a894b4ed743fd681ea250a6
Author: Mattias Bengtsson <mattias jc bengtsson gmail com>
Date:   Sun Mar 2 18:25:21 2014 +0100

    Fix make distcheck
    
    The 'make distcheck' test has been failing since 5d9046b this commit
    makes sure that the generated files {path,config}.js are put into
    ${buildir} instead of ${srcdir} and that they are properly cleaned up.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=723629

 src/Makefile-js.am |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/Makefile-js.am b/src/Makefile-js.am
index 3dd6b1d..9586c62 100644
--- a/src/Makefile-js.am
+++ b/src/Makefile-js.am
@@ -3,9 +3,9 @@ BUILT_SOURCES +=                                                        \
        config.js
 
 path.js: Makefile path.js.in
-       $(AM_V_GEN) $(do_subst) $(srcdir)/path.js.in > $@
+       $(AM_V_GEN) $(do_subst) $(srcdir)/path.js.in > $(builddir)/path.js
 config.js: Makefile config.js.in
-       $(AM_V_GEN) $(do_subst) $(srcdir)/config.js.in > $@
+       $(AM_V_GEN) $(do_subst) $(srcdir)/config.js.in > $(builddir)/config.js
 
 js_files = $(shell $(GLIB_COMPILE_RESOURCES)                           \
                --sourcedir=$(srcdir)                                   \
@@ -33,7 +33,7 @@ js_built_sources = gnome-maps-js.c gnome-maps-js.h
 BUILT_SOURCES += $(js_built_sources)
 
 CLEANFILES +=                                                          \
-       $(js_built_sources)
+       $(BUILT_SOURCES)
 
 EXTRA_DIST +=                                                          \
        gnome-maps.js.gresource.xml                                     \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]