From e3bea333d67c85c112b3b8e249b764712ea42643 Mon Sep 17 00:00:00 2001 From: retropikzel Date: Fri, 7 Nov 2025 22:37:05 +0200 Subject: [PATCH] Simplify Makefile clean --- .gitignore | 2 +- Makefile | 10 ++-------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 3a1d829..9279d21 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,6 @@ *.swp *.swo *.tgz -tmp *.log +.* diff --git a/Makefile b/Makefile index 84494aa..7bf904b 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ README=retropikzel/${LIBRARY}/README.html TESTFILE=retropikzel/${LIBRARY}/test.scm PKG=${AUTHOR}-${LIBRARY}-${VERSION}.tgz -TMPDIR=tmp/${SCHEME} +TMPDIR=.tmp/${SCHEME} DOCKERIMG=${SCHEME}:head ifeq "${SCHEME}" "chicken" @@ -47,10 +47,4 @@ test-docker: ${TMPDIR} sh -c "make SCHEME=${SCHEME} SNOW_CHIBI_ARGS=--always-yes build install test; chmod -R 755 ${TMPDIR}" clean: - find . -name "README.html" -delete - find . -name "*.log" -delete - rm -rf ${TMPDIR} - rm -rf *.tgz - -clean-all: - rm -rf tmp + git clean -X -f