Make MOZ_DISABLE_JAR_PACKAGING not create jar files.

This commit is contained in:
cls%seawood.org 2000-09-24 23:56:38 +00:00
parent 67516b8103
commit 5b25d51597

View File

@ -593,18 +593,22 @@ install:: chrome
!ifndef MOZ_OLD_JAR_PACKAGING
!ifdef MOZ_DISABLE_JAR_PACKAGING
_JAR_FLAT_FILES_ONLY=-f
_JAR_REGCHROME_JAR=1
!else
_JAR_FLAT_FILES_ONLY=
_JAR_REGCHROME_JAR=0
!endif
!if exist($(JAR_MANIFEST))
chrome::
$(PERL) $(DEPTH)\config\make-jars.pl -d $(DIST)\bin\chrome < $(JAR_MANIFEST)
$(PERL) $(DEPTH)\config\make-jars.pl $(_JAR_FLAT_FILES_ONLY) -d $(DIST)\bin\chrome < $(JAR_MANIFEST)
!endif
!ifdef MOZ_DISABLE_JAR_PACKAGING
REGCHROME = @perl $(DEPTH)\config\add-chrome.pl $(DIST)\bin\chrome\installed-chrome.txt 1
!else
REGCHROME = @perl $(DEPTH)\config\add-chrome.pl $(DIST)\bin\chrome\installed-chrome.txt 0
!endif
REGCHROME = @perl $(DEPTH)\config\add-chrome.pl $(DIST)\bin\chrome\installed-chrome.txt $(_JAR_REGCHROME_JAR)
regchrome: