-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
33 lines (26 loc) · 1.04 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
.PHONY: install
DOTFILES := $(HOME)/dotfiles
XDG_CONFIG_HOME := $(HOME)/.config
XDG_LOCAL_HOME := $(HOME)/.local
XDG_DATA_HOME := $(HOME)/.local/share
XDG_PICTURES_HOME := $(HOME)/Picture
GIT_PATH := $(XDG_DATA_HOME)/git
IMAGICKS := $(GIT_PATH)/alchemist-imagicks
LINK := ln -sfn
CLONE := git clone
install:
$(LINK) $(DOTFILES)/bin $(HOME)/bin
$(LINK) $(DOTFILES)/local $(HOME)/.local
$(LINK) $(DOTFILES)/config $(HOME)/.config
$(LINK) $(DOTFILES)/config/ssh $(HOME)/.ssh
$(LINK) $(DOTFILES)/config/irssi $(HOME)/.irssi
$(LINK) $(DOTFILES)/bashrc $(HOME)/.bashrc
$(LINK) $(DOTFILES)/bashrc $(HOME)/.bash_profile
setup:
$(CLONE) git@github:elf-alchemist/imagicks.git $(GIT_PATH)/alchemist-imagicks
post-setup:
$(LINK) $(IMAGICKS)/profile $(XDG_PICTURES_HOME)/Profile
$(LINK) $(IMAGICKS)/picture $(XDG_PICTURES_HOME)/Misc
$(LINK) $(IMAGICKS)/wallpaper $(XDG_PICTURES_HOME)/Wallpaper
$(LINK) $(IMAGICKS)/memery $(XDG_PICTURES_HOME)/Memes
$(LINK) $(IMAGICKS)/luma $(XDG_PICTURES_HOME)/Luma