dotfiles/makefile

15 lines
485 B
Makefile
Raw Normal View History

MANIFEST := nixos-zilch
FLAGS :=
.PHONY: install
install:
./vtsm --manifest ".vtsm/${MANIFEST}.json" --commands "mkdir -p {location} && stow --stow {package} --target {location}" $(FLAGS)
.PHONY: reinstall
reinstall:
./vtsm --manifest ".vtsm/${MANIFEST}.json" --commands "mkdir -p {location} && stow --restow {package} --target {location}" $(FLAGS)
.PHONY: clean
clean:
./vtsm --manifest ".vtsm/${MANIFEST}.json" --commands "stow --delete {package} --target {location}" $(FLAGS)