Changed the realclean and clobber_all targets so that they don't NSPRPUB_CLIENT_BRANCH
authorwtc%netscape.com
Wed, 10 May 2000 05:10:49 +0000
branchNSPRPUB_CLIENT_BRANCH
changeset 1347 59509f52f1471b87e2a5f9b6de2ebe85025b3e41
parent 1346 87a60a28a54027f169ba4abdaf3af7a0cd81b02c
child 1351 19d69092cca5cacfc542907ab0524ea0cf448c10
push idunknown
push userunknown
push dateunknown
Changed the realclean and clobber_all targets so that they don't cd into pr/tests. Modified files: nsprpub/Makefile, nsprpub/Makefile.in (NSPRPUB_CLIENT_BRANCH)
Makefile
Makefile.in
--- a/Makefile
+++ b/Makefile
@@ -39,17 +39,17 @@ ifdef PR_CLIENT_BUILD
 export::
 	rm -r -f $(DIST)/../public/nspr
 ifdef PR_CLIENT_BUILD_UNIX
 	rm -f $(DIST)/lib/libnspr.a
 	rm -f $(DIST)/bin/libnspr.$(DLL_SUFFIX)
 endif
 endif
 
-distclean realclean clobber_all::
+distclean::
 	@echo "cd pr/tests; $(MAKE) $@"
 	@$(MAKE) -C pr/tests $@
 
 release::
 	echo $(BUILD_NUMBER) > $(RELEASE_DIR)/$(BUILD_NUMBER)/version.df
 	@if test -f imports.df; then \
 	    echo "cp -f imports.df $(RELEASE_DIR)/$(BUILD_NUMBER)/imports.df"; \
 	    cp -f imports.df $(RELEASE_DIR)/$(BUILD_NUMBER)/imports.df; \
--- a/Makefile.in
+++ b/Makefile.in
@@ -46,22 +46,20 @@ ifdef PR_CLIENT_BUILD
 export::
 	rm -r -f $(DIST)/../public/nspr
 ifdef PR_CLIENT_BUILD_UNIX
 	rm -f $(DIST)/lib/libnspr.a
 	rm -f $(DIST)/bin/libnspr.$(DLL_SUFFIX)
 endif
 endif
 
-distclean realclean clobber_all::
+# Delete config/autoconf.mk last because it is included by every makefile.
+distclean::
 	@echo "cd pr/tests; $(MAKE) $@"
 	@$(MAKE) -C pr/tests $@
-
-# Delete config/autoconf.mk last because it is included by every makefile.
-distclean::
 	rm -f config/autoconf.mk
 
 release::
 	echo $(BUILD_NUMBER) > $(RELEASE_DIR)/$(BUILD_NUMBER)/version.df
 	@if test -f imports.df; then \
 	    echo "cp -f imports.df $(RELEASE_DIR)/$(BUILD_NUMBER)/imports.df"; \
 	    cp -f imports.df $(RELEASE_DIR)/$(BUILD_NUMBER)/imports.df; \
 	else \
@@ -111,10 +109,10 @@ endif
 	chmod 664 $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER)/imports.df; \
 	cd $(OBJDIR_NAME); \
 	cp -f mdbinary.jar $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER)/$(OBJDIR_NAME); \
 	chmod 664 $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER)/$(OBJDIR_NAME)/mdbinary.jar; \
 	cd include; \
 	cp -f mdheader.jar $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER)/$(OBJDIR_NAME); \
 	chmod 664 $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER)/$(OBJDIR_NAME)/mdheader.jar
 
-depend::
+depend:
 	@echo "NSPR20 has no dependencies.  Skipped."