summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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}