[the-board] [build] Update js/util bits to make distcheck work



commit 5c633eb50144e78a1384208e8a7dc7fe7079f986
Author: Lucas Rocha <lucasr gnome org>
Date:   Thu Dec 23 21:45:13 2010 +0000

    [build] Update js/util bits to make distcheck work

 src/Makefile-js.am |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)
---
diff --git a/src/Makefile-js.am b/src/Makefile-js.am
index 2ee1632..9a29501 100644
--- a/src/Makefile-js.am
+++ b/src/Makefile-js.am
@@ -40,22 +40,26 @@ dist_jsuithings_DATA = \
 
 jsutildir = $(pkgdatadir)/js/util
 
+jsutil_built_sources = \
+    $(srcdir)/js/util/features.js \
+    $(srcdir)/js/util/path.js
+
+BUILT_SOURCES += $(jsutil_built_sources)
+
 js/util/path.js: Makefile js/util/path.js.in
-	$(AM_V_GEN) $(do_subst) js/util/path.js.in > $@
+	$(AM_V_GEN) $(do_subst) $(srcdir)/js/util/path.js.in > $@
 
 js/util/features.js: Makefile js/util/features.js.in
-	$(AM_V_GEN) $(do_subst) js/util/features.js.in > $@
+	$(AM_V_GEN) $(do_subst) $(srcdir)/js/util/features.js.in > $@
 
 dist_jsutil_DATA = \
     js/util/http.js \
-    js/util/features.js \
     js/util/json.js \
     js/util/mathUtil.js \
-    js/util/path.js
+    $(jsutil_built_sources)
 
 CLEANFILES += \
-    js/util/features.js \
-    js/util/path.js
+    $(BUILT_SOURCES)
 
 EXTRA_DIST += \
     js/util/features.js.in \



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