rename clean to clean-current, and clean-all back to clean

This way, the clean target continues to do what it always did: delete
the whole build directory.  You can use clean-current to just delete
the currently-configured build directory.
This commit is contained in:
Joel Dice 2013-02-06 11:38:30 -07:00
parent 82d4ced160
commit ef11cd1d8d

View File

@ -1246,13 +1246,13 @@ javadoc:
-header "Avian v$(version)" \ -header "Avian v$(version)" \
-bottom "<a href=\"http://oss.readytalk.com/avian/\">http://oss.readytalk.com/avian</a>" -bottom "<a href=\"http://oss.readytalk.com/avian/\">http://oss.readytalk.com/avian</a>"
.PHONY: clean .PHONY: clean-current
clean: clean-current:
@echo "removing $(build)" @echo "removing $(build)"
rm -rf $(build) rm -rf $(build)
.PHONY: clean-all .PHONY: clean
clean-all: clean:
@echo "removing build" @echo "removing build"
rm -rf build rm -rf build