blob: 92052f25d44512f8f8d1910e7f9657d57dd3c529 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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)
|