-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
52 lines (40 loc) · 1.34 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
SHELL := /usr/bin/env bash
TARGET ?= $(HOME)
.PHONY: help
help: ## Show help
@grep -E '^[0-9a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
.PHONY: all
all: install-x install-i3 install-shell install-spacemacs \
install-git install-moc install-gtk install-python install-asdf
.PHONY: install
install: all ## Install all configuration files
.PHONY: install-x
install-x: ## Install Xresources and LightDM's Xkbmap
stow x -t $(TARGET)
.PHONY: install-i3
install-i3: ## Install I3 configuration
stow i3 -t $(TARGET)
.PHONY: install-shell
install-shell: ## Install Shell, Bash and Alacritty configuration
stow shell -t $(TARGET)
stow bash -t $(TARGET)
stow alacritty -t $(TARGET)
.PHONY: install-spacemacs
install-spacemacs: ## Install Spacemacs configuration
stow spacemacs -t $(TARGET)
.PHONY: install-git
install-git: ## Install Git configuration
stow git -t $(TARGET)
.PHONY: install-moc
install-moc: ## Install Music On Console configuration
stow moc -t $(TARGET)
.PHONY: install-gtk
install-gtk: ## Install GTK configuration
stow gtk2 -t $(TARGET)
stow gtk3 -t $(TARGET)
.PHONY: install-python
install-python: ## Install Python configuration
stow python -t $(TARGET)
.PHONY: install-asdf
install-asdf: ## Install asdf configuration
stow asdf -t $(TARGET)