88 lines
1.9 KiB
Makefile
88 lines
1.9 KiB
Makefile
.POSIX:
|
|
|
|
HOME = /home/trinity
|
|
|
|
all: $(TARGETS)
|
|
|
|
TARGETS = \
|
|
$(HOME)/.aliases \
|
|
$(HOME)/.config/helix/config.toml \
|
|
$(HOME)/.config/helix/themes/trinity.toml \
|
|
$(HOME)/.config/sway/config \
|
|
$(HOME)/.env \
|
|
$(HOME)/.gitconfig \
|
|
$(HOME)/.nethackrc \
|
|
$(HOME)/.profile \
|
|
$(HOME)/.vimrc \
|
|
$(HOME)/.xinitrc \
|
|
$(HOME)/.Xresources \
|
|
$(HOME)/.config/youtube-dl/youtube-dl.conf
|
|
|
|
$(HOME)/.aliases: sh/aliases
|
|
ln -s sh/aliases $@
|
|
|
|
$(HOME)/.config/bspwm/bspwmrc: bspwm/bspwmrc
|
|
mkdir -p $(HOME)/.config/bspwm/
|
|
cp bspwm/bspwmrc $@
|
|
|
|
$(HOME)/.config/i3/config: i3/config
|
|
mkdir -p $(HOME)/.config/i3/
|
|
cp i3/config $@
|
|
|
|
$(HOME)/.config/i3status/config: i3status/config
|
|
mkdir -p $(HOME)/.config/i3status/
|
|
cp i3status/config $@
|
|
|
|
$(HOME)/.config/helix/config.toml: helix/config.toml
|
|
mkdir -p $(HOME)/.config/helix
|
|
ln -s helix/config.toml $@
|
|
|
|
$(HOME)/.config/helix/themes/trinity.toml: helix/trinity.toml
|
|
mkdir -p $(HOME)/.config/helix/themes
|
|
ln -s helix/trinity.toml $@
|
|
|
|
$(HOME)/.config/nvim/init.vim: nvim/init.vim
|
|
mkdir -p $(HOME)/.config/nvim/
|
|
ln -s nvim/init.vim $@
|
|
|
|
$(HOME)/.config/sxhkd/sxhkdrc: sxhkd/sxhkdrc
|
|
mkdir -p $(HOME)/.config/sxhkd/
|
|
cp sxhkd/sxhkdrc $@
|
|
|
|
$(HOME)/.config/sway/config: sway/config
|
|
mkdir -p $(HOME)/.config/sway/
|
|
ln -s sway/config $@
|
|
|
|
# cannot be a symlink
|
|
$(HOME)/.config/sxmo/profile: sxmo/profile
|
|
mkdir -p $(HOME)/.config/sxmo/
|
|
cp sxmo/profile $@
|
|
|
|
$(HOME)/.ctwmrc: ctwm/ctwmrc
|
|
cp ctwm/ctwmrc $@
|
|
|
|
$(HOME)/.env: sh/env
|
|
ln -s sh/env $@
|
|
|
|
$(HOME)/.gitconfig: git/gitconfig
|
|
cp git/gitconfig $@
|
|
|
|
$(HOME)/.nethackrc: nethack/nethackrc
|
|
ln -s nethack/nethackrc $@
|
|
|
|
$(HOME)/.profile: sh/profile
|
|
ln -s sh/profile $@
|
|
|
|
$(HOME)/.vimrc: vim/vimrc
|
|
ln -s vim/vimrc $@
|
|
|
|
$(HOME)/.xinitrc: xinit/xinitrc
|
|
ln -s xinit/xinitrc $@
|
|
|
|
$(HOME)/.Xresources: X/Xresources
|
|
ln -s X/Xresources $@
|
|
|
|
$(HOME)/.config/youtube-dl/youtube-dl.conf: youtube-dl/youtube-dl.conf
|
|
mkdir -p $(HOME)/.config/youtube-dl
|
|
cp youtube-dl/youtube-dl.conf $@
|