git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
RSRussell Steicke <russellsteicke@gmail.com>
Date
Aug 6, 2008, 02:43 UTC
Message-ID
<20080806024348.GF11179@maggie.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.
Message 1 of 1 in “[TopGit] Pretty print the help creation commands in Makefile.”
  1. [TopGit] Pretty print the help creation commands in Makefile.Russell Steicke, Aug 6, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.