prompt to delete build directory on 'make clean'

This commit is contained in:
monero-project 2014-04-30 13:07:00 -04:00
parent 56bb9591a5
commit 9c70be0e77

View File

@ -25,6 +25,9 @@ test-release: build-release
all-release: build-release
clean:
@echo "WARNING: Back-up your wallet if it exists within ./build!" ; \
read -r -p "This will destroy the build directory, continue (y/N)?: " CONTINUE; \
[ $$CONTINUE = "y" ] || [ $$CONTINUE = "Y" ] || (echo "Exiting."; exit 1;)
rm -rf build
tags: