From 430639dafcfd1e80c118a385afcbddbfa3b97924 Mon Sep 17 00:00:00 2001 From: "slamm%netscape.com" Date: Mon, 22 Feb 1999 18:48:51 +0000 Subject: [PATCH] If the tree hasn't been pulled, client.mk needs to checkout build/autoconf/myconfig2defs.sh before it does anything else. git-svn-id: svn://10.0.0.236/trunk@21471 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/client.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mozilla/client.mk b/mozilla/client.mk index 18e589323bf..94ded07dd42 100644 --- a/mozilla/client.mk +++ b/mozilla/client.mk @@ -84,8 +84,14 @@ endif # Load options from myconfig.sh # (See build pages, http://www.mozilla.org/build/unix.html, # for how to set up myconfig.sh.) +# Check out the conversion script if it hasn't been checked out. +MYCONFIG2DEFS := build/autoconf/myconfig2defs.sh run_for_side_effects := \ - $(shell build/autoconf/myconfig2defs.sh $(TOPSRCDIR)/.client-defs.mk) + $(shell if test ! -f $(TOPSRCDIR)/$(MYCONFIG2DEFS); then \ + cd $(ROOTDIR); \ + cvs co mozilla/$(MYCONFIG2DEFS); \ + fi; \ + $(TOPSRCDIR)/$(MYCONFIG2DEFS) $(TOPSRCDIR)/.client-defs.mk) -include $(TOPSRCDIR)/.client-defs.mk ifdef MOZ_OBJDIR