[make] Try adding some os specific flows
This commit is contained in:
22
Makefile
22
Makefile
@ -1,3 +1,21 @@
|
||||
run:
|
||||
.PHONY: os stow deps
|
||||
|
||||
OS_NAME := $(shell uname -s | tr A-Z a-z)
|
||||
|
||||
stow:
|
||||
stow -t ~ */
|
||||
dconf load / < gnome/.local/share/custom-gconf.conf
|
||||
@if [ OS_NAME = "linux" ]; then \
|
||||
dconf load / < gnome/.local/share/custom-gconf.conf \
|
||||
fi
|
||||
|
||||
deps:
|
||||
@echo "Installing software for ${OS_NAME} platform"
|
||||
@if [ $(OS_NAME) = "darwin" ]; then\
|
||||
cd macos/.config/homebrew && brew bundle\
|
||||
fi
|
||||
@if [ $(OS_NAME) = "linux" ]; then\
|
||||
@echo "Not macos"\
|
||||
endif
|
||||
|
||||
os:
|
||||
@echo $(OS_NAME)
|
||||
|
||||
Reference in New Issue
Block a user