about summary refs log tree commit diff
path: root/clean.mk
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-02-01T10·47+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-02-01T10·47+0100
commit35107038f7c726f5ef8d7ab014ad45c73970e65d (patch)
tree3d5c78dc830f92723ad8efb251a6e0257534f91d /clean.mk
parentf324b49ea19e606f84b89ecb499f0e961646cd50 (diff)
Support adding "make help" text
Diffstat (limited to 'clean.mk')
-rw-r--r--clean.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/clean.mk b/clean.mk
index f45d578aa4b6..51bfd3bca324 100644
--- a/clean.mk
+++ b/clean.mk
@@ -5,3 +5,7 @@ clean:
 
 dryclean:
 	@for i in $(clean_files); do if [ -e $$i ]; then echo $$i; fi; done | sort
+
+print-top-help += \
+  echo "  clean: Delete generated files"; \
+  echo "  dryclean: Show what files would be deleted by 'make clean'";