summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2010-04-03 10:34:34 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2010-04-03 10:34:34 +0000
commit3289c7d897144ad99f05ef8d196212adbc0919c2 (patch)
tree3f42dff5f7b43d37f3b077dec5b14bf8f172b391
parentd090cadb4c86da2af96cfb7bc3c96c7ee037258f (diff)
downloadswig-3289c7d897144ad99f05ef8d196212adbc0919c2.tar.gz
more distclean and maintainer-clean fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11968 626c5289-ae23-0410-ae9c-e8d60b6d4f22
-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