mirror of
https://github.com/rodneyosodo/dotfiles.git
synced 2026-08-07 07:14:47 +00:00
23 lines
512 B
Makefile
23 lines
512 B
Makefile
.PHONY: install-stow
|
|
install-stow:
|
|
@echo "Installing stow"
|
|
@if ! command -v stow &>/dev/null; then \
|
|
yay -S stow; \
|
|
else \
|
|
echo "Stow is already installed"; \
|
|
fi
|
|
|
|
.PHONY: install-dotfiles
|
|
install-dotfiles:
|
|
@echo "Installing dotfiles"
|
|
@stow -t ~ .
|
|
|
|
.PHONY: help
|
|
help:
|
|
@echo "This Makefile is used to install dotfiles"
|
|
@echo ""
|
|
@echo "Usage:"
|
|
@echo " make install-dotfiles - install dotfiles"
|
|
@echo " make install-stow - install stow"
|
|
@echo " make help - show this help message"
|