[Groonga-commit] groonga/groonga [master] Add update-version task

Back to archive index

null+****@clear***** null+****@clear*****
2012年 3月 21日 (水) 11:26:34 JST


Kouhei Sutou	2012-03-21 11:26:34 +0900 (Wed, 21 Mar 2012)

  New Revision: 69f66454bb4abe402c3d299505827e46d74e82f3

  Log:
    Add update-version task
    
    It's for avoiding a newline in version

  Modified files:
    Makefile.am

  Modified: Makefile.am (+7 -0)
===================================================================
--- Makefile.am    2012-03-21 11:25:44 +0900 (e57d655)
+++ Makefile.am    2012-03-21 11:26:34 +0900 (42fabc6)
@@ -116,3 +116,10 @@ echo-groonga:
 
 echo-groonga-suggest-create-dataset:
 	@echo $(GROONGA_SUGGEST_CREATE_DATASET)
+
+update-version:
+	@if test -z "$(NEW_VERSION)"; then	\
+	  echo "\$$(NEW_VERSION) is missing";	\
+	  exit 1;				\
+	fi
+	@echo -n $(NEW_VERSION) > $(srcdir)/version




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