From 4c26a03a619c06eb4055e2c6d23ba14f1bffee9e Mon Sep 17 00:00:00 2001 From: Justin Frank Date: Thu, 21 Mar 2019 18:49:04 -0700 Subject: [PATCH] Fixed makefile so properly installs new rc structure --- src/Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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)