summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2008-12-09 21:33:19 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2008-12-09 21:33:19 +0000
commit47a0b980674ef298fada7daeb1e4afbd4f825c87 (patch)
tree158dd0b1e8c08ffde75da3dc74433a2c82f7cb96 /Makefile.in
parenta883849b45a54429c5719d3fae52c08440c7fe97 (diff)
downloadswig-47a0b980674ef298fada7daeb1e4afbd4f825c87.tar.gz
refine Makefile targets for documentation generation and remove generated ccache documentation from svn
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10976 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in26
1 files changed, 21 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in
index 2550272bd..a7e62fe49 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -35,7 +35,18 @@ libfiles: $(srcdir)/Lib/swigwarn.swg
maintainer: libfiles
@cd $(SOURCE) && $(MAKE) CParse/parser.h
-.PHONY: source libfiles maintainer
+#####################################################################
+# Documentation
+#####################################################################
+
+docs: docs-main docs-ccache
+
+docs-main:
+ @echo making docs
+ @test -d $(DOCS) || exit 0; cd $(DOCS) && $(MAKE) all clean-baks
+
+docs-ccache:
+ test -z "$(ENABLE_CCACHE)" || (cd $(CCACHE) && $(MAKE) docs)
#####################################################################
# All the languages SWIG speaks (when it wants to)
@@ -353,13 +364,18 @@ clean-%-test-suite:
clean-%-gifplot:
@$(MAKE) -k -s check-$*-gifplot ACTION=clean
-clean-docs:
- @echo cleaning Docs
- @test -d $(DOCS) || exit 0; cd $(DOCS) && $(MAKE) -s clean
-
clean-ccache:
test -z "$(ENABLE_CCACHE)" || (cd $(CCACHE) && $(MAKE) -s clean)
+clean-docs: clean-docs-main clean-docs-ccache
+
+clean-docs-main:
+ @echo cleaning Docs
+ @test -d $(DOCS) || exit 0; cd $(DOCS) && $(MAKE) clean
+
+clean-docs-ccache:
+ @test -z "$(ENABLE_CCACHE)" || (cd $(CCACHE) && $(MAKE) clean-docs)
+
maintainer-clean: clean-libfiles
@cd $(SOURCE) && $(MAKE) maintainer-clean