Fixed makefile so properly installs new rc structure

This commit is contained in:
Justin Frank 2019-03-21 18:49:04 -07:00
parent 830dd2b619
commit 4c26a03a61

View File

@ -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)