aboutsummaryrefslogtreecommitdiff
path: root/meta-linaro-integration/recipes-overlayed/firefox/firefox/debian-hacks/Install-js-shell-when-running-make-install-from-js-s.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-linaro-integration/recipes-overlayed/firefox/firefox/debian-hacks/Install-js-shell-when-running-make-install-from-js-s.patch')
-rw-r--r--meta-linaro-integration/recipes-overlayed/firefox/firefox/debian-hacks/Install-js-shell-when-running-make-install-from-js-s.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-linaro-integration/recipes-overlayed/firefox/firefox/debian-hacks/Install-js-shell-when-running-make-install-from-js-s.patch b/meta-linaro-integration/recipes-overlayed/firefox/firefox/debian-hacks/Install-js-shell-when-running-make-install-from-js-s.patch
new file mode 100644
index 00000000..92052f25
--- /dev/null
+++ b/meta-linaro-integration/recipes-overlayed/firefox/firefox/debian-hacks/Install-js-shell-when-running-make-install-from-js-s.patch
@@ -0,0 +1,32 @@
+From: Mike Hommey <mh@glandium.org>
+Date: Fri, 26 Feb 2010 16:25:15 +0100
+Subject: Install js shell when running make install from js/src
+
+---
+ js/src/Makefile.in | 1 +
+ js/src/shell/Makefile.in | 3 +++
+ 2 files changed, 4 insertions(+)
+
+diff --git a/js/src/Makefile.in b/js/src/Makefile.in
+index 0f83fd6..d61492d 100644
+--- a/js/src/Makefile.in
++++ b/js/src/Makefile.in
+@@ -940,6 +940,7 @@ endif
+ ifneq (,$(IMPORT_LIBRARY))
+ $(SYSINSTALL) $(IMPORT_LIBRARY) $(DESTDIR)$(libdir)
+ endif
++ $(MAKE) -C shell install
+
+ # Extra dependancies and rules for auto-generated headers
+ host_jskwgen.$(OBJ_SUFFIX): jsversion.h jskeyword.tbl
+diff --git a/js/src/shell/Makefile.in b/js/src/shell/Makefile.in
+index 4df10ed..504e259 100644
+--- a/js/src/shell/Makefile.in
++++ b/js/src/shell/Makefile.in
+@@ -78,3 +78,6 @@ endif
+ # People expect the js shell to wind up in the top-level JS dir.
+ libs::
+ $(INSTALL) $(IFLAGS2) $(PROGRAM) $(DEPTH)
++
++install:: $(PROGRAM)
++ $(SYSINSTALL) $^ $(DESTDIR)$(bindir)