null+****@clear*****
null+****@clear*****
2011年 8月 14日 (日) 18:15:46 JST
Kouhei Sutou 2011-08-14 09:15:46 +0000 (Sun, 14 Aug 2011)
New Revision: be3dcd0a1044ee1e5c974e14dd068a851cd2e731
Log:
[doc] support doctrees clean.
Modified files:
build/makefiles/sphinx.am
Modified: build/makefiles/sphinx.am (+6 -1)
===================================================================
--- build/makefiles/sphinx.am 2011-08-12 13:07:32 +0000 (0aa1be5)
+++ build/makefiles/sphinx.am 2011-08-14 09:15:46 +0000 (b511cba)
@@ -58,6 +58,11 @@ mo-build-stamp: $(po_files_relative_from_locale_dir)
cd LC_MESSAGES && $(MAKE) build
@touch $@
+clean-local: $(clean_targets) clean-doctrees
+
+clean-doctrees:
+ rm -rf $(DOCTREES_BASE)
+
maintainer-clean: maintainer-clean-local
maintainer-clean-local:
rm -rf -- $(generated_files)
@@ -122,7 +127,7 @@ clean_targets = \
clean-doctest
$(clean_targets):
- @target=`echo $@ | sed -e 's/^clean-//'`; \
+ target=`echo $@ | sed -e 's/^clean-//'`; \
rm -rf $${target}-build-stamp $${target}
build_stamps = \