summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..e4bb7af
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,23 @@
+stow_dirs = $(wildcard */)
+.PHONY : stow
+stow :
+ stow --target $(HOME) --verbose $(stow_dirs)
+
+.PHONY : stow-verbose
+# verbosity goes from 0 to 4
+VERBOSITY=1
+stow-verbose :
+ stow --verbose $(VERBOSITY) --target $(HOME) --verbose $(stow_dirs)
+
+.PHONY : dry-run
+dry-run :
+ stow --no --target $(HOME) --verbose $(stow_dirs)
+
+.PHONY : restow
+restow :
+ stow --target $(HOME) --verbose --restow $(stow_dirs)
+
+# Do this *before* moving to another directory.
+.PHONY : delete
+delete :
+ stow --target $(HOME) --verbose --delete $(stow_dirs)