[Groonga-commit] groonga/groonga at c82b63b [master] doc: suppress warnings for --enable-document build

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Apr 20 11:02:23 JST 2015


Kouhei Sutou	2015-04-20 11:02:23 +0900 (Mon, 20 Apr 2015)

  New Revision: c82b63b14da53c0d94d7ac3ef67ed957cf6aa696
  https://github.com/groonga/groonga/commit/c82b63b14da53c0d94d7ac3ef67ed957cf6aa696

  Message:
    doc: suppress warnings for --enable-document build
    
        build/makefiles/gettext.am:84: warning: mo-build-stamp was already defined in condition TRUE, which includes condition DOCUMENT_BUILDABLE ...
        doc/locale/en/LC_MESSAGES/Makefile.am:3:   'build/makefiles/LC_MESSAGES.am' included from here
        build/makefiles/LC_MESSAGES.am:5:   'build/makefiles/gettext.am' included from here
        build/makefiles/gettext.am:79: ... 'mo-build-stamp' previously defined here
        doc/locale/en/LC_MESSAGES/Makefile.am:3:   'build/makefiles/LC_MESSAGES.am' included from here
        build/makefiles/LC_MESSAGES.am:5:   'build/makefiles/gettext.am' included from here
        build/makefiles/gettext.am:84: warning: mo-build-stamp was already defined in condition TRUE, which includes condition DOCUMENT_BUILDABLE ...
        doc/locale/ja/LC_MESSAGES/Makefile.am:3:   'build/makefiles/LC_MESSAGES.am' included from here
        build/makefiles/LC_MESSAGES.am:5:   'build/makefiles/gettext.am' included from here
        build/makefiles/gettext.am:79: ... 'mo-build-stamp' previously defined here
        doc/locale/ja/LC_MESSAGES/Makefile.am:3:   'build/makefiles/LC_MESSAGES.am' included from here
        build/makefiles/LC_MESSAGES.am:5:   'build/makefiles/gettext.am' included from here

  Modified files:
    build/makefiles/gettext.am

  Modified: build/makefiles/gettext.am (+6 -5)
===================================================================
--- build/makefiles/gettext.am    2015-04-19 22:00:44 +0900 (ff2e330)
+++ build/makefiles/gettext.am    2015-04-20 11:02:23 +0900 (4b1298b)
@@ -76,10 +76,11 @@ edit-po-build-stamp: pot-build-stamp
 	$(MAKE) $(edit_po_files)
 	@touch $@
 
-mo-build-stamp: edit-po-build-stamp
-	$(MAKE) $(mo_files)
-	@touch $@
-
+mo_build_stamp_dependencies = edit-po-build-stamp
 if DOCUMENT_BUILDABLE
-mo-build-stamp: $(edit_po_files)
+mo_build_stamp_dependencies += $(edit_po_files)
 endif
+
+mo-build-stamp: $(mo-build_stamp_dependencies)
+	$(MAKE) $(mo_files)
+	@touch $@
-------------- next part --------------
HTML����������������������������...
下载 



More information about the Groonga-commit mailing list
Back to archive index