From 499103721e3750437569fa7c7a1e47cb4d78ae3b Mon Sep 17 00:00:00 2001 From: "mcmullen%netscape.com" Date: Thu, 3 Jun 1999 00:41:11 +0000 Subject: [PATCH] Implemented XP default prefs. Thanks to seth for the makefile magic! --- config/rules.mk | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/config/rules.mk b/config/rules.mk index ee55955cad5a..c03184041353 100644 --- a/config/rules.mk +++ b/config/rules.mk @@ -889,7 +889,18 @@ $(XPDIST)/include:: export:: $(EXPORTS) $(XPDIST)/include $(INSTALL) -m 444 $^ -endif +endif + +################################################################################ +# Copy each element of PREF_JS_EXPORTS to $(DIST)/bin/components + +ifneq ($(PREF_JS_EXPORTS),) +$(DIST)/bin/components:: + @if test ! -d $@; then echo Creating $@; rm -rf $@; $(NSINSTALL) -D $@; else true; fi + +export:: $(PREF_JS_EXPORTS) $(DIST)/bin/components + $(INSTALL) -m 444 $^ +endif ################################################################################ # Export the elements of $(XPIDLSRCS), generating .h and .xpt files and