# [PATCH] [TopGit] Pretty print the help creation commands in Makefile.

1 messages from 2008-08-06 to 2008-08-06. Participants: Russell Steicke.
Thread: https://gitlist.dev/t/14852

## Russell Steicke, 2008-08-06 02:43

Subject: [PATCH] [TopGit] Pretty print the help creation commands in Makefile.
Message-ID: <20080806024348.GF11179@maggie.localnet>
URL: https://gitlist.dev/e/20080806024348.GF11179%40maggie.localnet

```
Print "[HELP] cmdname" while compiling the tg-cmdname.txt files.

Signed-off-by: Russell Steicke <russellsteicke@gmail.com>

---
 Makefile |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 238d07d..2975f29 100644
--- 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)"
-- 
tg: (e311d15..) t/help2 (depends on: master)




-- 
Russell Steicke

-- Fortune says:
Today is the first day of the rest of your life.

```
