chiark / gitweb /
recurse_deps(): Call itself, not needs_update(), recursively
[topgit.git] / Makefile
index 2975f295d637bd1d840ff57436e032614e2bd231..cf842d686a1ff7db9f15a330ac5e565a29940824 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -31,13 +31,14 @@ $(help_out): README
        ./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)