[Groonga-mysql-commit] mroonga/mroonga at 584cb07 [master] Add missing .edit -> .po dependency

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Jun 10 23:28:33 JST 2015


Kouhei Sutou	2015-06-10 23:28:33 +0900 (Wed, 10 Jun 2015)

  New Revision: 584cb078edb80c40114719fabd18e80748e40ed5
  https://github.com/mroonga/mroonga/commit/584cb078edb80c40114719fabd18e80748e40ed5

  Message:
    Add missing .edit -> .po dependency

  Modified files:
    build/makefiles/gettext.am

  Modified: build/makefiles/gettext.am (+17 -4)
===================================================================
--- build/makefiles/gettext.am    2015-06-10 23:18:27 +0900 (9706b48)
+++ build/makefiles/gettext.am    2015-06-10 23:28:33 +0900 (9cea8ce)
@@ -1,6 +1,8 @@
 include $(top_srcdir)/doc/files.am
 include $(top_srcdir)/build/makefiles/sphinx-build.am
 
+CLEANFILES =
+
 EXTRA_DIST +=					\
 	$(po_files)
 
@@ -11,9 +13,11 @@ endif
 
 if DOCUMENT_BUILDABLE
 BUILT_SOURCES +=				\
+	mo-build-stamp
+CLEANFILES +=					\
 	pot-build-stamp				\
 	edit-po-build-stamp			\
-	$(mo_files)
+	mo-build-stamp
 endif
 
 SUFFIXES += .pot .po .mo .edit
@@ -47,8 +51,8 @@ SUFFIXES += .pot .po .mo .edit
 	msgfmt -o $@ $<
 
 if DOCUMENT_BUILDABLE
-update: pot-build-stamp edit-po-build-stamp
-build: update $(mo_files)
+update: edit-po-build-stamp
+build: mo-build-stamp
 else
 update:
 build:
@@ -68,6 +72,15 @@ pot-build-stamp: $(absolute_source_files)
 	$(MAKE) gettext
 	@touch $@
 
-edit-po-build-stamp: $(absolute_source_files)
+edit-po-build-stamp: pot-build-stamp
 	$(MAKE) $(edit_po_files)
 	@touch $@
+
+mo_build_stamp_dependencies = edit-po-build-stamp
+if DOCUMENT_BUILDABLE
+mo_build_stamp_dependencies += $(edit_po_files)
+endif
+
+mo-build-stamp: $(mo_build_stamp_dependencies)
+	$(MAKE) $(mo_files)
+	@touch $@
-------------- next part --------------
HTML����������������������������...
Download 



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