chiark
/
gitweb
/
~ian
/
topgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e311d15
)
Pretty print the help creation commands in Makefile.
author
Russell Steicke
<russellsteicke@gmail.com>
Wed, 6 Aug 2008 02:43:48 +0000
(10:43 +0800)
committer
Petr Baudis
<pasky@suse.cz>
Sat, 9 Aug 2008 00:07:20 +0000
(
02:07
+0200)
Print "[HELP] cmdname" while compiling the tg-cmdname.txt files.
Signed-off-by: Russell Steicke <russellsteicke@gmail.com>
Signed-off-by: Petr Baudis <pasky@suse.cz>
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/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)"