Extract chrome files from moz .jars to create embed.jar if building with jar chrome only. Bug #72390. Shoudl fix tinderbox bustage too.

This commit is contained in:
cls%seawood.org 2001-03-24 13:38:53 +00:00
Родитель 4658d4344b
Коммит 328c1d33cc
1 изменённых файлов: 13 добавлений и 1 удалений

Просмотреть файл

@ -27,7 +27,19 @@ include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk
embed_chrome: embed-jar.mn
$(PERL) $(MOZILLA_DIR)/config/make-jars.pl -v -d $(DIST)/bin/chrome -s $(DIST)/bin/chrome < $(MOZILLA_DIR)/embedding/config/embed-jar.mn
ifneq (jar,$(MOZ_CHROME_FILE_FORMAT))
$(PERL) $(MOZILLA_DIR)/config/make-jars.pl -v -f $(MOZ_CHROME_FILE_FORMAT) -d $(DIST)/bin/chrome -s $(DIST)/bin/chrome < $(MOZILLA_DIR)/embedding/config/embed-jar.mn
else
for f in $(DIST)/bin/chrome/*.jar; do \
b=`basename $$f | sed -e 's|.jar$$||'` ; \
echo "$$b" ; \
$(NSINSTALL) -D $(DIST)/Embed/tmpchrome/$$b ;\
unzip -d $(DIST)/Embed/tmpchrome/$$b $$f ; \
done
$(PERL) $(MOZILLA_DIR)/config/make-jars.pl -v -f $(MOZ_CHROME_FILE_FORMAT) -d $(DIST)/bin/chrome -s $(DIST)/Embed/tmpchrome < $(MOZILLA_DIR)/embedding/config/embed-jar.mn
$(RM) -rf $(DIST)/Embed/tmpchrome
endif
install:: embed_chrome
$(PERL) $(topsrcdir)/xpinstall/packager/pkgcp.pl -s $(DIST)/bin -d $(DIST) --f $(srcdir)/basebrowser-unix -o unix -v