diff options
author | Matt Turner <mattst88@gmail.com> | 2024-02-01 21:26:40 -0500 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2024-02-01 21:26:40 -0500 |
commit | 63337cc27b7945c09711167889749b3250f4950b (patch) | |
tree | cd2014807499e658ff9a087b4453cec0f6264740 | |
parent | 9851514c1e5b5946549cca3704be31183ae42589 (diff) |
Add Makefile
From https://github.com/nbeaver/stow-makefile
-rw-r--r-- | Makefile | 23 |
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) |