Bug 561973 - Install js shell when running make install from js/src. r=jimb

This commit is contained in:
Mike Hommey 2012-05-03 08:40:40 +02:00
parent bd540195cc
commit 6270d1354a
2 changed files with 6 additions and 0 deletions

View File

@ -820,6 +820,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

View File

@ -81,3 +81,8 @@ endif
# People expect the js shell to wind up in the top-level JS dir.
libs::
$(INSTALL) $(IFLAGS2) $(PROGRAM) $(DEPTH)
GARBAGE += $(DEPTH)/$(PROGRAM)
install:: $(PROGRAM)
$(SYSINSTALL) $^ $(DESTDIR)$(bindir)