diff --git a/src/Makefile b/src/Makefile index 0c4868e3..3638a183 100644 --- a/src/Makefile +++ b/src/Makefile @@ -144,9 +144,7 @@ distclean: clean installdirs: install -d $(bindir) \ - $(sharedir)/rc/base \ - $(sharedir)/rc/core \ - $(sharedir)/rc/extra \ + $(sharedir)/rc \ $(sharedir)/colors \ $(sharedir)/doc \ $(docdir) \ @@ -156,9 +154,8 @@ install: kak man installdirs install -m 0755 kak $(bindir) install -m 0644 ../share/kak/kakrc $(sharedir) install -m 0644 ../doc/pages/*.asciidoc $(sharedir)/doc - install -m 0644 ../rc/base/* $(sharedir)/rc/base - install -m 0644 ../rc/core/* $(sharedir)/rc/core - install -m 0644 ../rc/extra/* $(sharedir)/rc/extra + cp -r ../rc/* $(sharedir)/rc + find -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)