-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
30 lines (22 loc) · 830 Bytes
/
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
LAPTOP = ${HOME}/dotfiles/profiles/laptop
TERMUX = ${HOME}/dotfiles/profiles/termux
TARGET_DIR = ${HOME}
LAPTOP_PACKAGES = nvim neovide git fastfetch kitty fish
TERMUX_PACKAGES = nvim git fastfetch kitty termux-settings bash fish
.PHONY: test laptop-stow laptop-unstow termux-stow termux-unstow
test:
@echo $(LAPTOP)
@echo $(TERMUX)
@echo $(TARGET_DIR)
laptop-stow:
@echo "Stowing laptop dotfiles..."
stow --target=$(TARGET_DIR) --dir=$(LAPTOP) $(LAPTOP_PACKAGES)
laptop-unstow:
@echo "Unstowing laptop dotfiles..."
stow --target=$(TARGET_DIR) --dir=$(LAPTOP) -D $(LAPTOP_PACKAGES)
termux-stow:
@echo "Stowing termux dotfiles..."
stow --target=$(TARGET_DIR) --dir=$(TERMUX) $(TERMUX_PACKAGES)
termux-unstow:
@echo "Unstowing termux dotfiles..."
stow --target=$(TARGET_DIR) --dir=$(TERMUX) -D $(TERMUX_PACKAGES)