about summary refs log tree commit diff
path: root/mk
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-12-12T10·22+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-12-12T10·22+0100
commit3560f52cc427a4eb368815ae7dd9badffba84f3f (patch)
tree509b6ae1b17bdfb2dea5cf4b047147f88f98450a /mk
parent49a385096e08b42277b7105d5d8d1e0e62b6b7a4 (diff)
dryclean: Show what actual files would be deleted
Diffstat (limited to 'mk')
-rw-r--r--mk/clean.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/clean.mk b/mk/clean.mk
index 3287ac873239..703e32e2dd94 100644
--- a/mk/clean.mk
+++ b/mk/clean.mk
@@ -1,7 +1,7 @@
 clean_files :=
 
 clean:
-	rm -fv $(clean_files)
+	$(QUIET) rm -fv -- $(clean_files)
 
 dryclean:
-	@echo $(clean_files)
+	@for i in $(clean_files); do if [ -e $$i ]; then echo $$i; fi; done