[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] Add misc target

Back to archive index

HAYASHI Kentaro null+****@clear*****
Thu Oct 4 10:44:18 JST 2012


HAYASHI Kentaro	2012-07-25 14:36:50 +0900 (Wed, 25 Jul 2012)

  New Revision: a6b2aac7aca31227a450f6f99aaa36c98d332266
  https://github.com/mroonga/mroonga/commit/a6b2aac7aca31227a450f6f99aaa36c98d332266

  Log:
    Add misc target

  Modified files:
    Makefile.am

  Modified: Makefile.am (+9 -4)
===================================================================
--- Makefile.am    2012-07-25 14:23:27 +0900 (a88bfd7)
+++ Makefile.am    2012-07-25 14:36:50 +0900 (f5fe850)
@@ -56,7 +56,7 @@ tag:
 	cd $(top_srcdir) && \
 	  git tag v$(VERSION) -a -m 'mroonga $(VERSION)!!!'
 
-update-latest-release:
+update-latest-release: misc
 	@if test -z "$(OLD_RELEASE)"; then	\
 	  echo "\$$(OLD_RELEASE) is missing";	\
 	  exit 1;				\
@@ -69,9 +69,6 @@ update-latest-release:
 	  echo "\$$(NEW_RELEASE_DATE) is missing";	\
 	  exit 1;					\
 	fi
-	cd $(top_srcdir) && test -d "misc" ||			\
-	  git clone git://github.com/clear-code/cutter.git
-	ln -sf cutter/misc misc
 	cd $(top_srcdir) &&				\
 	  misc/update-latest-release.rb			\
 	  $(PACKAGE) $(OLD_RELEASE) $(OLD_RELEASE_DATE)	\
@@ -143,3 +140,11 @@ upload-to-github:
 
 echo-cutter:
 	echo $(CUTTER)
+
+misc:
+	@if test -z "$(CUTTER_SOURCE_PATH)"; then \
+	  echo "\$$(CUTTER_SOURCE_PATH) is missing"; \
+	  exit 1; \
+	fi
+	ln -s "$(CUTTER_SOURCE_PATH)/misc" misc;
+
-------------- next part --------------
HTML����������������������������...
Télécharger 



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