Add clean target to Makefile for migration from old stow structure

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-22 10:46:21 -04:00
parent 541564775a
commit 88c9e165b0

View File

@@ -1,7 +1,14 @@
.PHONY: laptop work
.PHONY: laptop work clean
laptop:
stow shared laptop
work:
stow shared work
clean:
stow -D shared laptop work 2>/dev/null; \
find $(HOME)/.config/nvim $(HOME)/.config/emacs $(HOME)/.config/tmux \
$(HOME)/.config/ghostty $(HOME)/.config/ranger \
-maxdepth 4 -xtype l -delete 2>/dev/null; \
true