summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2025-09-25 09:40:50 -0400
committerCullum Smith <cullum@sacredheartsc.com>2025-09-25 09:40:50 -0400
commitbe94425fb779edae9b51009e74808588be4d5e51 (patch)
treedabd29aa289f6466163fbec3555db1e00c4df070 /Makefile
parent4b5bf18b5b22aa83b7cb404c67f4e5f106979c6f (diff)
downloaddotfiles-be94425fb779edae9b51009e74808588be4d5e51.tar.gz
update dotfiles
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 6da2664..dfb4bdd 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,18 @@
-PACKAGES != find . -type d -depth 1 -not -name .git -exec basename {} \;
-STOW_ARGS = --verbose --no-folding --target ${HOME}
+HOME_PACKAGES = readline sh vi vim
+XDG_PACKAGES = tmux git
+STOW_ARGS = --verbose --no-folding
.PHONY: dry-run
dry-run:
- stow --no --restow ${STOW_ARGS} ${PACKAGES}
+ stow --no --restow ${STOW_ARGS} --target ${HOME} ${HOME_PACKAGES}
+ stow --no --restow ${STOW_ARGS} --target ${XDG_CONFIG_HOME} ${XDG_PACKAGES}
.PHONY: install
install:
- stow --restow ${STOW_ARGS} ${PACKAGES}
+ stow --restow ${STOW_ARGS} --target ${HOME} ${HOME_PACKAGES}
+ stow --restow ${STOW_ARGS} --target ${XDG_CONFIG_HOME} ${XDG_PACKAGES}
.PHONY: uninstall
uninstall:
- stow --delete ${STOW_ARGS} ${PACKAGES}
+ stow --delete ${STOW_ARGS} --target ${HOME} ${HOME_PACKAGES}
+ stow --delete ${STOW_ARGS} --target ${XDG_CONFIG_HOME} ${XDG_PACKAGES}