null+****@clear*****
null+****@clear*****
2011年 5月 17日 (火) 11:14:03 JST
Kouhei Sutou 2011-05-17 02:14:03 +0000 (Tue, 17 May 2011)
New Revision: f381c3b20cc7dec3ab648529ad93b6e6a2692fb7
Log:
[doc] ensure cleaning cache after updating mo.
Modified files:
doc/Makefile.am
Modified: doc/Makefile.am (+6 -2)
===================================================================
--- doc/Makefile.am 2011-05-17 02:06:46 +0000 (1ab015f)
+++ doc/Makefile.am 2011-05-17 02:14:03 +0000 (ea6fa8a)
@@ -15,7 +15,7 @@ PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
-.PHONY: sphinx-ensure-updated help clean man html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest
+.PHONY: sphinx-ensure-updated help clean man html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest update-po create-mo
SPHINX_BUILD = sphinx/sphinx-build.py
SPHINX_BUILD_COMMAND = PYTHONPATH="$(abs_builddir)/sphinx:$$PYTHONPATH" python $(SPHINX_BUILD)
@@ -47,7 +47,10 @@ help:
@echo " gettext to make pot files"
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
-clean-local:
+clean-doctree:
+ -rm -rf $(DOCTREES_BASE)
+
+clean-local: clean-doctree
-rm -rf $(DOCTREES_BASE)
-rm -rf $(BUILDDIR)/man
-rm -rf $(BUILDDIR)/html
@@ -269,6 +272,7 @@ create-mo:
msgfmt -o $${mo} $${po}; \
done; \
done
+ $(MAKE) clean-doctree
if ENABLE_DOCUMENT
dist-hook: