chiark / gitweb /
Pretty print the help creation commands in Makefile.
[topgit.git] / Makefile
index 238d07d6a84e91e2c00605cff55afc534b6b11bc..2975f295d637bd1d840ff57436e032614e2bd231 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,9 @@ tg $(commands_out) $(hooks_out): % : %.sh
        mv $@+ $@
 
 $(help_out): README
-       ./create-help.sh `echo $@ | sed -e 's/tg-//' -e 's/\.txt//'`
+       @CMD=`echo $@ | sed -e 's/tg-//' -e 's/\.txt//'` && \
+       echo '[HELP]' $$CMD && \
+       ./create-help.sh $$CMD
 
 install:: all
        install tg "$(bindir)"