From 63337cc27b7945c09711167889749b3250f4950b Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 1 Feb 2024 21:26:40 -0500 Subject: Add Makefile From https://github.com/nbeaver/stow-makefile --- Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Makefile 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) -- cgit v1.2.3