summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CCache/Makefile.in1
-rw-r--r--Makefile.in7
2 files changed, 3 insertions, 5 deletions
diff --git a/CCache/Makefile.in b/CCache/Makefile.in
index fd7ee7eb0..e1014d230 100644
--- a/CCache/Makefile.in
+++ b/CCache/Makefile.in
@@ -64,7 +64,6 @@ distclean: clean
/bin/rm -rf autom4te.cache
maintainer-clean: distclean
- /bin/rm -f configure config.h.in
/bin/rm -f $(PACKAGE_NAME).1 web/ccache-man.html
diff --git a/Makefile.in b/Makefile.in
index 228b9201d..48ebafc65 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -342,10 +342,7 @@ distclean-examples:
@cd Examples && $(MAKE) -k -s distclean
distclean-ccache:
- test -z "$(ENABLE_CCACHE)" || (cd $(CCACHE) && $(MAKE) -s distclean)
-
-distclean-docs-ccache:
- @test -z "$(ENABLE_CCACHE)" || (cd $(CCACHE) && $(MAKE) distclean-docs)
+ @test -z "$(ENABLE_CCACHE)" || (cd $(CCACHE) && $(MAKE) -s distclean)
distclean-dead:
rm -f $(DISTCLEAN-DEAD)
@@ -360,6 +357,8 @@ distclean-dead:
maintainer-clean:
@echo maintainer-cleaning source
@cd $(SOURCE) && $(MAKE) -k -s maintainer-clean
+ @echo maintainer-cleaning CCache
+ @test -z "$(ENABLE_CCACHE)" || (cd $(CCACHE) && $(MAKE) -s maintainer-clean)
@echo maintainer-cleaning docs
@cd $(DOCS) && $(MAKE) -k -s maintainer-clean
@echo maintainer-cleaning Lib files