From d355fda8bb7e76a9cd65564a153f434cbb7f1269 Mon Sep 17 00:00:00 2001 From: "warren%netscape.com" Date: Tue, 19 Sep 2000 04:03:47 +0000 Subject: [PATCH] Fixed chrome rules to work for ns tree. git-svn-id: svn://10.0.0.236/branches/jar_restructuring_branch@79513 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/config/rules.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mozilla/config/rules.mk b/mozilla/config/rules.mk index 2e8f409546f..b8062a5bc0d 100644 --- a/mozilla/config/rules.mk +++ b/mozilla/config/rules.mk @@ -71,6 +71,10 @@ ifndef topsrcdir topsrcdir = $(DEPTH) endif +ifndef MOZILLA_DIR +MOZILLA_DIR = $(DEPTH) +endif + ifndef INCLUDED_CONFIG_MK include $(topsrcdir)/config/config.mk endif @@ -1131,11 +1135,11 @@ endif JAR_MANIFEST := jar.mn chrome:: - @if test -f $(JAR_MANIFEST); then $(PERL) $(topsrcdir)/config/make-jars.pl -c -d $(DIST)/bin/chrome < $(JAR_MANIFEST); fi + @if test -f $(JAR_MANIFEST); then $(PERL) $(MOZILLA_DIR)/config/make-jars.pl -c -d $(DIST)/bin/chrome < $(JAR_MANIFEST); fi install:: chrome -REGCHROME = $(PERL) $(DEPTH)/config/add-chrome.pl $(DIST)/bin/chrome/installed-chrome.txt +REGCHROME = $(PERL) $(MOZILLA_DIR)/config/add-chrome.pl $(DIST)/bin/chrome/installed-chrome.txt ##############################################################################