aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormonero-project <sempre.amaro@gmail.com>2014-04-30 13:07:00 -0400
committermonero-project <sempre.amaro@gmail.com>2014-04-30 13:07:00 -0400
commit9c70be0e77c3e0b9f4a06c962203d049851b6cc5 (patch)
tree1b408c4d4d155daf7f84a39923a36b7700409454 /Makefile
parentreturn for unhandleable tx_extra (diff)
downloadmonero-9c70be0e77c3e0b9f4a06c962203d049851b6cc5.tar.xz
prompt to delete build directory on 'make clean'
Diffstat (limited to '')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 451319b08..65b72d4e1 100644
--- a/Makefile
+++ b/Makefile
@@ -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: