summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-06-28 13:12:53 -0400
committerCullum Smith <cullum@sacredheartsc.com>2024-06-28 13:13:44 -0400
commitc7b4cdaa1615c95469f19aed2e6257cd8c17df7a (patch)
treec53d6baca8233eda927a4a0038e6dbceab922f4f /Makefile
downloaddotfiles-c7b4cdaa1615c95469f19aed2e6257cd8c17df7a.tar.gz
initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..6da2664
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
+PACKAGES != find . -type d -depth 1 -not -name .git -exec basename {} \;
+STOW_ARGS = --verbose --no-folding --target ${HOME}
+
+.PHONY: dry-run
+dry-run:
+ stow --no --restow ${STOW_ARGS} ${PACKAGES}
+
+.PHONY: install
+install:
+ stow --restow ${STOW_ARGS} ${PACKAGES}
+
+.PHONY: uninstall
+uninstall:
+ stow --delete ${STOW_ARGS} ${PACKAGES}