diff --git a/js/src/Makefile.in b/js/src/Makefile.in index 96ec5c8f500..0143a08d34d 100644 --- a/js/src/Makefile.in +++ b/js/src/Makefile.in @@ -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 diff --git a/js/src/shell/Makefile.in b/js/src/shell/Makefile.in index cf27c4dc2af..21decf05673 100644 --- a/js/src/shell/Makefile.in +++ b/js/src/shell/Makefile.in @@ -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)