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 -d -m 755 "$(bindir)"
install tg "$(bindir)"
install -d -m 755 "$(cmddir)"
install $(commands_out) "$(cmddir)"
install -d -m 755 "$(hooksdir)"
install $(hooks_out) "$(hooksdir)"
install -d -m 755 "$(sharedir)"
- install $(help_out) "$(sharedir)"
+ install -m 644 $(help_out) "$(sharedir)"
clean::
rm -f tg $(commands_out) $(hooks_out) $(help_out)