[Groonga-commit] groonga/groonga [master] [doc] don't remove generated documents without hg

Back to archive index

null+****@clear***** null+****@clear*****
2012年 3月 2日 (金) 14:56:28 JST


Kouhei Sutou	2012-03-02 14:56:28 +0900 (Fri, 02 Mar 2012)

  New Revision: 82b36da25fe7ecf0c56a5a35e200c9ce2dc10974

  Log:
    [doc] don't remove generated documents without hg

  Modified files:
    doc/Makefile.am

  Modified: doc/Makefile.am (+9 -3)
===================================================================
--- doc/Makefile.am    2012-03-01 19:01:14 +0900 (15ff937)
+++ doc/Makefile.am    2012-03-02 14:56:28 +0900 (f900d18)
@@ -43,16 +43,22 @@ update-images:
 	  make -f $(abs_srcdir)/images.mk update-images
 
 if ENABLE_DOCUMENT
-dist-hook: html man
-	@touch $(distdir)/build-stamp
 nobase_dist_doc_DATA =				\
 	$(source_files_relative_from_doc_dir)
-CLEANFILES += build-stamp
 endif
 
 if WITH_HG
+dist-hook: html man
+	@touch $(distdir)/build-stamp
+
+CLEANFILES += build-stamp
+
 sphinx:
 	$(HG) clone https://bitbucket.org/birkenfeld/sphinx sphinx
 
 BUILT_SOURCES += sphinx
+else
+if ENABLE_DOCUMENT
+EXTRA_DIST += build-stamp
+endif
 endif




Groonga-commit メーリングリストの案内
Back to archive index