Fix problem with configure being run because of check_old target. NSPRPUB_CLIENT_BRANCH
authorcls%seawood.org
Tue, 06 Mar 2001 00:44:45 +0000
branchNSPRPUB_CLIENT_BRANCH
changeset 1766 ffb84a6dd6b2f6c16f4226e5449b8682f1a6aeda
parent 1765 e95bf7e21ff9d8fd9f4a2fa479578e64c94ba3ca
child 1767 e8ea406cdfc7346da711aa015b54126c493a71d9
push idunknown
push userunknown
push dateunknown
Fix problem with configure being run because of check_old target.
gmakefile.win
--- a/gmakefile.win
+++ b/gmakefile.win
@@ -49,25 +49,25 @@ endef
 
 
 all:: build_all
 
 # Argh.  nmake keeps the cwd from cmd to cmd and gmake does not
 # Furthermore, shmsdos doesn't support '&&' so there's a chance the
 # 'cd' could fail and configure would be run in the wrong dir
 #
-$(MOZ_OBJDIR)/config.status: check_old configure configure.in
+$(MOZ_OBJDIR)/config.status: configure configure.in
 	@$(MAKE_OBJDIR) 
 	cd $(MOZ_OBJDIR)/ ; \
 		sh $(NSPR_CONFIGURE)
 
-build_all: $(MOZ_OBJDIR)/config.status
+build_all: $(MOZ_OBJDIR)/config.status check_old
 	gmake -C $(MOZ_OBJDIR)
 
-clobber_all: $(MOZ_OBJDIR)/config.status
+clobber_all: $(MOZ_OBJDIR)/config.status check_old
 	gmake -C $(MOZ_OBJDIR) clobber_all
 
 distclean: check_old
 	rm -rf WIN32_D.OBJ WIN32_O.OBJ
 
 check_old:
 	@if test -f Makefile; then gmake distclean; fi