diff --git a/src/Makefile b/src/Makefile index 1a6b8a51..af86e6c1 100644 --- a/src/Makefile +++ b/src/Makefile @@ -155,7 +155,7 @@ install: kak man installdirs install -m 0644 ../share/kak/kakrc $(sharedir) install -m 0644 ../doc/pages/*.asciidoc $(sharedir)/doc cp -r ../rc/* $(sharedir)/rc - find . -type f -exec chmod 0644 {} + + find $(sharedir)/rc -type f -exec chmod 0644 {} + [ -e $(sharedir)/autoload ] || ln -s rc $(sharedir)/autoload install -m 0644 ../colors/* $(sharedir)/colors install -m 0644 ../README.asciidoc $(docdir)