aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4cea49d8..16e51e4a 100644
--- a/Makefile
+++ b/Makefile
@@ -22,6 +22,7 @@
install-git \
install-gnupg \
install-i3 \
+ install-init \
install-ksh \
install-less \
install-login-shell \
@@ -367,6 +368,7 @@ install: install-bin \
install-ex \
install-git \
install-gnupg \
+ install-init \
install-less \
install-login-shell \
install-man \
@@ -457,6 +459,9 @@ install-i3: install-x
mkdir -p -- $(XDG_CONFIG_HOME)/i3
cp -p -- i3/* $(XDG_CONFIG_HOME)/i3
+install-init:
+ if test -d /run/systemd/system ; then make install-systemd ; fi
+
install-less: less/less
mkdir -p -- $(HOME)/.profile.d
cp -p -- less/profile.d/*.sh $(HOME)/.profile.d
@@ -580,7 +585,8 @@ install-sxhkd: install-scrot install-x
cp -p -- sxhkd/sxhkdrc $(XDG_CONFIG_HOME)/sxhkd
cp -p -- sxhkd/xsession.d/* $(HOME)/.xsession.d
-install-systemd:
+install-systemd: install-sh
+ cp -p -- systemd/profile.d/*.sh $(HOME)/.profile.d
mkdir -p -- $(XDG_DATA_HOME)/systemd/user
cp -p -- systemd/user/*.service \
$(XDG_DATA_HOME)/systemd/user
@@ -668,6 +674,7 @@ install-x: x/xsession check-x install-logrotate install-sh
$(XDG_CONFIG_HOME)/log/xsession
cp -p -- x/xprofile $(HOME)/.xprofile
cp -p -- x/xsession $(HOME)/.xsession
+ cp -p -- x/xsessionrc $(HOME)/.xsessionrc
cp -p -- x/Xresources $(HOME)/.Xresources
cp -p -- x/Xresources.d/* $(HOME)/.Xresources.d
cp -p -- x/logrotate/config.d/* $(XDG_CONFIG_HOME)/logrotate/config.d