[gnome-shell] Fix generation of config.js
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Fix generation of config.js
- Date: Thu, 23 Feb 2012 03:31:33 +0000 (UTC)
commit 30e4f8089450fd3e330452b713b49f51af5b2950
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Wed Feb 22 22:29:50 2012 -0500
Fix generation of config.js
* Create the misc/ subdir of the build dir if it doesn't exist
* Add config.js to CLEANFILES
js/Makefile.am | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/js/Makefile.am b/js/Makefile.am
index 7850460..edc8049 100644
--- a/js/Makefile.am
+++ b/js/Makefile.am
@@ -1,7 +1,9 @@
EXTRA_DIST = misc/config.js.in
+CLEANFILES = misc/config.js
misc/config.js: misc/config.js.in Makefile
+ [ -d $(@D) ] || $(mkdir_p) $(@D) ; \
sed -e "s|[ ]PACKAGE_NAME@|$(PACKAGE_NAME)|g" \
-e "s|[ ]PACKAGE_VERSION@|$(PACKAGE_VERSION)|g" \
-e "s|[ ]GJS_VERSION@|$(GJS_VERSION)|g" \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]