-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (29 loc) · 702 Bytes
/
Makefile
File metadata and controls
34 lines (29 loc) · 702 Bytes
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
OS := $(shell uname -s)
ifeq ($(OS),Darwin)
SUFFIX := macos
OS_NAME := macOS
else
SUFFIX := cachyos
OS_NAME := CachyOS
endif
.PHONY: full setup clean help
help:
@echo "$(OS_NAME) Setup"
@echo ""
@echo " make full Install packages + deploy configs"
@echo " make setup Deploy configs only"
@echo " make clean Remove deployed configs"
@echo ""
full:
@./scripts/install-packages-$(SUFFIX).sh
@./scripts/clean-configs.sh
@./scripts/setup-configs.sh
@./scripts/setup-git.sh
@echo "Done. Restart your terminal."
setup:
@./scripts/clean-configs.sh
@./scripts/setup-configs.sh
@./scripts/setup-git.sh
@echo "Done. Restart your terminal."
clean:
@./scripts/clean-configs.sh