aboutsummaryrefslogtreecommitdiff
diff options
from:
to:
context:
space:
mode:
authorGravatar Saya Andy <saya.andy@posteo.com> 2026-07-30 12:22:07 +0700
committerGravatar Saya Andy <saya.andy@posteo.com> 2026-07-30 12:22:07 +0700
commitd05975170e81442bde726730b6e2d1c37ea6c560 (patch)
treeb32309540fccb5fc93f54f970195971dd414baa2
parentfbb76f0cb2d77b08e6ae02579dc2a549bff509a2 (diff)
downloadcgitext-d05975170e81442bde726730b6e2d1c37ea6c560.tar.gz
cgitext-d05975170e81442bde726730b6e2d1c37ea6c560.zip
Makefile: clean the dependency directory that is created
cgit.mk generates dependency files into .depend, but clean removed .deps, so the stale .o.d files survived. They embed absolute compiler and SDK paths, which makes a tree that has been moved, shared between machines, or built inside a container fail after "make clean" with missing targets instead of rebuilding. Signed-off-by: Saya Andy <saya.andy@posteo.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9d39bf4..4e851af 100644
--- a/Makefile
+++ b/Makefile
@@ -158,7 +158,7 @@ $(DOC_PDF): %.pdf : %.txt
clean: clean-doc
$(RM) cgit VERSION CGIT-CFLAGS *.o tags
- $(RM) -r .deps
+ $(RM) -r .depend
cleanall: clean
$(MAKE) -C git clean