On Apr 6, 2004, at 17:22, nobu.nokada / softhome.net wrote: > Hi, > > At Wed, 7 Apr 2004 09:08:03 +0900, > Ryan Davis wrote in [ruby-core:02759]: >> The following is a patch that prevents a rebuild if the rule contains >> "clean" somewhere in the rule: > > It doesn't work for other makes. > > Rather I recommend separating compile directory from source > directory, and just removing whole compile directory to > distclean, if you want to restart from configure. If you just > want to re-compile all objects, makefiles have to be updated. Can we rename the "Makefile" rule to something like "rebuild-Makefile"? We can add it to the "all" rule and elsewhere if needed. Index: Makefile.in =================================================================== RCS file: /src/ruby/Makefile.in,v retrieving revision 1.55.2.4 diff -c -r1.55.2.4 Makefile.in *** Makefile.in 7 Mar 2004 07:28:10 -0000 1.55.2.4 --- Makefile.in 7 Apr 2004 00:28:25 -0000 *************** *** 208,214 **** PHONY: ! @MAKEFILES@: config.status MAKE=$(MAKE) $(SHELL) ./config.status @{ \ echo "all:; -@rm -f conftest.mk"; \ --- 208,214 ---- PHONY: ! rebuild-Makefile: config.status MAKE=$(MAKE) $(SHELL) ./config.status @{ \ echo "all:; -@rm -f conftest.mk"; \