more aggressive clean

This commit is contained in:
Luca Bilke 2024-05-21 01:05:09 +02:00
parent 6a9e85994a
commit 85d718c232
No known key found for this signature in database
GPG Key ID: C9E851809C1A5BDE
1 changed files with 3 additions and 1 deletions

View File

@ -22,6 +22,8 @@ ${SRC}: buildroot
${OBJ}: config.h config.mk
dwm: ${OBJ}
${CC} -o $@ ${OBJ} ${LDFLAGS}
@ -29,7 +31,7 @@ clean:
find . -maxdepth 1 -type f | grep -Pv "^\./\.|Makefile$$" | xargs -r rm
rm -r tmp patch 2>/dev/null || true
git -C dwm-flexipatch reset --hard HEAD
git -C dwm-flexipatch clean -fdx
git -C dwm-flexipatch clean -ffdx
buildroot:
cp config/patches.h dwm-flexipatch/patches.h