From 88c9e165b037e4233a818a2f9a9c451814f8e13f Mon Sep 17 00:00:00 2001 From: Rob Harbaugh Date: Wed, 22 Apr 2026 10:46:21 -0400 Subject: [PATCH] Add clean target to Makefile for migration from old stow structure Co-Authored-By: Claude Sonnet 4.6 --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fb36f8b..d9b92fe 100644 --- a/Makefile +++ b/Makefile @@ -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