[Groonga-commit] groonga/groonga [master] Use NEW_NGINX_VERSION variable for update-nginx

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Jan 17 13:42:10 JST 2013


Kouhei Sutou	2013-01-17 13:42:10 +0900 (Thu, 17 Jan 2013)

  New Revision: 4f29b336dbd518b0c4b87407f8b4b392383bf441
  https://github.com/groonga/groonga/commit/4f29b336dbd518b0c4b87407f8b4b392383bf441

  Log:
    Use NEW_NGINX_VERSION variable for update-nginx

  Modified files:
    Makefile.am

  Modified: Makefile.am (+5 -1)
===================================================================
--- Makefile.am    2013-01-17 13:41:00 +0900 (fe7f68a)
+++ Makefile.am    2013-01-17 13:42:10 +0900 (993f4b9)
@@ -146,7 +146,11 @@ update-mruby:
 	cd $(top_srcdir)/vendor/mruby && make update
 
 update-nginx:
-	cd $(top_srcdir)/vendor && ./update_nginx.sh
+	@if test -z "$(NEW_NGINX_VERSION)"; then	\
+	  echo "\$$(NEW_NGINX_VERSION) is missing";	\
+	  exit 1;					\
+	fi
+	cd $(top_srcdir)/vendor && ./update_nginx.sh $(NEW_NGINX_VERSION)
 
 misc:
 	@if test -z "$(CUTTER_SOURCE_PATH)"; then \
-------------- next part --------------
HTML����������������������������...
Download 



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