From 462bb4964e16dcd7edf8fa273005198a98e34dd4 Mon Sep 17 00:00:00 2001 From: Ninjananas Date: Tue, 3 Sep 2024 20:19:10 +0200 Subject: [PATCH] Fix Makefile clean target --- Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 0895399..8368546 100644 --- a/Makefile +++ b/Makefile @@ -23,11 +23,10 @@ full: $(full) .PHONY: clean clean: - rake clean - rm -r _output/* - rm -r ._layouts - rm -r ._graphics - rm ._graphics_copy_touch ._graphics_extract_touch + @ rm -rf _output/* 2>/dev/null || true + @ rm -rf ._layouts || true + @ rm -rf ._graphics || true + @ rm -f ._graphics_copy_touch ._graphics_extract_touch || true $(pnp): $(common_deps)