Fixed makefile so properly installs new rc structure
This commit is contained in:
parent
830dd2b619
commit
4c26a03a61
|
@ -144,9 +144,7 @@ distclean: clean
|
||||||
|
|
||||||
installdirs:
|
installdirs:
|
||||||
install -d $(bindir) \
|
install -d $(bindir) \
|
||||||
$(sharedir)/rc/base \
|
$(sharedir)/rc \
|
||||||
$(sharedir)/rc/core \
|
|
||||||
$(sharedir)/rc/extra \
|
|
||||||
$(sharedir)/colors \
|
$(sharedir)/colors \
|
||||||
$(sharedir)/doc \
|
$(sharedir)/doc \
|
||||||
$(docdir) \
|
$(docdir) \
|
||||||
|
@ -156,9 +154,8 @@ install: kak man installdirs
|
||||||
install -m 0755 kak $(bindir)
|
install -m 0755 kak $(bindir)
|
||||||
install -m 0644 ../share/kak/kakrc $(sharedir)
|
install -m 0644 ../share/kak/kakrc $(sharedir)
|
||||||
install -m 0644 ../doc/pages/*.asciidoc $(sharedir)/doc
|
install -m 0644 ../doc/pages/*.asciidoc $(sharedir)/doc
|
||||||
install -m 0644 ../rc/base/* $(sharedir)/rc/base
|
cp -r ../rc/* $(sharedir)/rc
|
||||||
install -m 0644 ../rc/core/* $(sharedir)/rc/core
|
find -type f -exec chmod 0644 {} +
|
||||||
install -m 0644 ../rc/extra/* $(sharedir)/rc/extra
|
|
||||||
[ -e $(sharedir)/autoload ] || ln -s rc $(sharedir)/autoload
|
[ -e $(sharedir)/autoload ] || ln -s rc $(sharedir)/autoload
|
||||||
install -m 0644 ../colors/* $(sharedir)/colors
|
install -m 0644 ../colors/* $(sharedir)/colors
|
||||||
install -m 0644 ../README.asciidoc $(docdir)
|
install -m 0644 ../README.asciidoc $(docdir)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user