From 92ddbac1e854f68e555391e4dad3ed25410935ee Mon Sep 17 00:00:00 2001 From: "O. Perret" Date: Wed, 3 Feb 2016 23:31:35 +0100 Subject: [PATCH] Adapt 'make install' to rc/ reorganization --- src/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index d74bf368..f534be14 100644 --- a/src/Makefile +++ b/src/Makefile @@ -75,9 +75,13 @@ XDG_CONFIG_HOME ?= $(HOME)/.config install: kak mkdir -p $(bindir) install -m 0755 kak $(bindir) - mkdir -p $(sharedir)/rc + mkdir -p $(sharedir)/rc/base + mkdir -p $(sharedir)/rc/core + mkdir -p $(sharedir)/rc/extra install -m 0644 ../share/kak/kakrc $(sharedir) - install -m 0644 ../rc/* $(sharedir)/rc + install -m 0644 ../rc/base/* $(sharedir)/rc/base + install -m 0644 ../rc/core/* $(sharedir)/rc/core + install -m 0644 ../rc/extra/* $(sharedir)/rc/extra [ -e $(sharedir)/autoload ] || ln -s rc $(sharedir)/autoload mkdir -p $(sharedir)/colors install -m 0644 ../colors/* $(sharedir)/colors