aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2010-04-03 00:20:42 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2010-04-03 00:20:42 +0000
commitfb99ef318c769fdc95ee67f7452d0e21c2d36649 (patch)
treee8b6f44b36a56b4f34c943b045fdce43660f2e84 /Makefile.in
parent662084aa06d5b3818532b87709e0b5be383a3df1 (diff)
downloadswig-fb99ef318c769fdc95ee67f7452d0e21c2d36649.tar.gz
fixes for make distclean
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11964 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in12
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 6effe59b9..1401ea9fc 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -336,9 +336,9 @@ maintainer-clean: clean-libfiles
# DISTCLEAN
#####################################################################
-DISTCLEAN-DEAD = config.status config.log config.cache swig.spec Makefile mkmf.log libtool
+DISTCLEAN-DEAD = config.status config.log config.cache swig.spec Makefile mkmf.log libtool preinst-swig Lib/ocaml/swigp4.ml
-distclean: clean-docs distclean-objects clean-examples distclean-test-suite distclean-dead distclean-ccache
+distclean: clean-docs distclean-objects distclean-test-suite distclean-examples distclean-dead distclean-ccache
distclean-objects: distclean-source
@@ -351,6 +351,11 @@ distclean-test-suite:
@echo distcleaning Examples/test-suite
@$(MAKE) -k -s check-test-suite ACTION=distclean NOSKIP=1
+distclean-examples:
+ @echo distcleaning Examples
+ @$(MAKE) -k -s clean-examples
+ @cd Examples && $(MAKE) -k -s distclean
+
distclean-ccache:
test -z "$(ENABLE_CCACHE)" || (cd $(CCACHE) && $(MAKE) -s distclean)
@@ -360,6 +365,9 @@ distclean-docs-ccache:
distclean-dead:
rm -f $(DISTCLEAN-DEAD)
+distclean-:
+ rm -f Lib/ocaml/swigp4.ml
+
#####################################################################
# Update the Lib/swigwarn.swg file
# Note: Generated into the source tree rather than build tree