[libpeas] extension-js test: clean up Makefile
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas] extension-js test: clean up Makefile
- Date: Mon, 13 Feb 2012 00:09:37 +0000 (UTC)
commit d20a8db6a1c29f35119ad0fc261bb4b95fdf5622
Author: Ryan Lortie <desrt desrt ca>
Date: Sun Feb 12 11:11:51 2012 -0500
extension-js test: clean up Makefile
There were a couple of unsafe things going on in this Makefile. Fix
them up so that the build isn't broken.
https://bugzilla.gnome.org/show_bug.cgi?id=669930
tests/libpeas/plugins/extension-js/Makefile.am | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/tests/libpeas/plugins/extension-js/Makefile.am b/tests/libpeas/plugins/extension-js/Makefile.am
index db1e135..767bc6f 100644
--- a/tests/libpeas/plugins/extension-js/Makefile.am
+++ b/tests/libpeas/plugins/extension-js/Makefile.am
@@ -11,16 +11,16 @@ noinst_DATA = \
extension-js.%:
test -e $@
-%.gschema.xml: extension-js.gschema.xml
+extension-gjs.gschema.xml extension-seed.gschema.xml: extension-js.gschema.xml
$(AM_V_GEN) cp $< $@ && \
- $(SED) -i -e 's/JS_LOADER/$(@:extension-%.gschema.xml=%)/g' $@
+ $(SED) -i -e 's%JS_LOADER%$(@:extension-%.gschema.xml=%)%g' $@
-%.js: extension-js.js
+extension-gjs.js extension-seed.js: extension-js.js
$(AM_V_GEN) $(LN_S) $< $@
-%.plugin: extension-js.plugin
+extension-gjs.plugin extension-seed.plugin: extension-js.plugin
$(AM_V_GEN) cp $< $@ && \
- $(SED) -i -e 's/JS_LOADER/$(@:extension-%.plugin=%)/g' $@
+ $(SED) -i -e 's%JS_LOADER%$(@:extension-%.plugin=%)%g' $@
EXTRA_DIST = \
extension-js.gschema.xml \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]