Have "make depend" invoke "make clean" as a hack to ensure
authorwtc%netscape.com
Mon, 09 Nov 1998 20:14:54 +0000
changeset 303 01db0c3e7f4cc895b60ef60f07de2b8f9d1cc889
parent 302 63828aa106ba0bce02a822dba39ccb3dcf6d7943
child 304 a980b2d0b15c9b2b3900040abf99a89e52f59bbf
push idunknown
push userunknown
push dateunknown
Have "make depend" invoke "make clean" as a hack to ensure that the "depend" continuous builds still work after I removed plvector.c and plvector.h from mozilla/nsprpub/lib/ds. This temporary hack will be removed later.
Makefile
--- a/Makefile
+++ b/Makefile
@@ -96,10 +96,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: clean
 	@echo "NSPR20 has no dependencies.  Skipped."