[Prime-cvs] CVS update: suikyo

Back to archive index

Hiroyuki Komatsu komat****@users*****
2005年 1月 11日 (火) 23:43:03 JST


Index: suikyo/configure.ac
diff -u suikyo/configure.ac:1.15 suikyo/configure.ac:1.16
--- suikyo/configure.ac:1.15	Tue Jan 11 04:19:51 2005
+++ suikyo/configure.ac	Tue Jan 11 23:43:03 2005
@@ -1,5 +1,5 @@
 dnl configure.in: Creates a configure script for suikyo.
-dnl $Id: configure.ac,v 1.15 2005/01/10 19:19:51 komatsu Exp $
+dnl $Id: configure.ac,v 1.16 2005/01/11 14:43:03 komatsu Exp $
 dnl
 dnl Copyright (C) 2003, 2004 Hiroyuki Komatsu <komat****@taiya*****>
 dnl     All rights reserved.
@@ -16,7 +16,7 @@
 AM_INIT_AUTOMAKE($PACKAGE_NAME, $PACKAGE_VERSION)
 # AM_MAINTAINER_MODE
 AC_INIT_DEFAULT_VALUES
-AC_SUBST(DATE, "2005-01-10")
+AC_SUBST(DATE, "2005-01-11")
 
 MY_AC_PROG_RUBY
 
Index: suikyo/Makefile.am
diff -u suikyo/Makefile.am:1.5 suikyo/Makefile.am:1.6
--- suikyo/Makefile.am:1.5	Tue Jan 11 04:19:51 2005
+++ suikyo/Makefile.am	Tue Jan 11 23:43:03 2005
@@ -1,5 +1,5 @@
 # Makefile.am: Template of Automake for suikyo
-# $Id: Makefile.am,v 1.5 2005/01/10 19:19:51 komatsu Exp $
+# $Id: Makefile.am,v 1.6 2005/01/11 14:43:03 komatsu Exp $
 #
 # Copyright (C) 2003 Hiroyuki Komatsu <komat****@taiya*****>
 #     All rights reserved.
@@ -18,9 +18,26 @@
 	$(MAKE) dist
 	rpmbuild -ta --clean $(PACKAGE)-$(VERSION).tar.gz
 
-cygwin:
-	rm -rf cygwin/
-	./configure --prefix `pwd`/cygwin/usr/local \
-                    --with-rubydir=/usr/lib/ruby/site_ruby/1.8
+cygwin: cygwin-dist
+
+cygwin-dist:
+	rm -rf cygwin/dist
+	./configure --prefix `pwd`/cygwin/dist/usr/local \
+                    --with-rubydir=`pwd`/cygwin/dist/usr/lib/ruby/site_ruby/1.8
 	make install
-	cd cygwin ; tar cjf $(PACKAGE)-$(VERSION).tar.bz2 usr
+	cd cygwin/dist ; tar cjf ../$(PACKAGE)-$(VERSION).tar.bz2 usr ; rm -rf usr
+	cd cygwin ; ruby -e " \
+	packages = ['', '-etc']; \
+	packages.each { | suffix | \
+	  package_name = '$(PACKAGE)' + suffix; \
+	  archive_name = package_name + '-$(VERSION).tar.bz2'; \
+	  md5_string  = \`md5sum #{archive_name}\`.split().first(); \
+	  size_string = \`ls -l #{archive_name}\`.split()[4]; \
+	  File::open(package_name + '.ini', 'w') {|io| \
+	    File::open(package_name + '.ini.src', 'r').each {|line| \
+	      line.sub!('%PACKAGE_VERSION%', '$(PACKAGE_VERSION)'); \
+	      line.sub!('%PACKAGE_MD5%',     md5_string); \
+	      line.sub!('%PACKAGE_SIZE%',    size_string); \
+	      io.print(line); \
+	    }}} "
+	./configure
Index: suikyo/ChangeLog
diff -u suikyo/ChangeLog:1.15 suikyo/ChangeLog:1.16
--- suikyo/ChangeLog:1.15	Thu Dec 23 16:37:25 2004
+++ suikyo/ChangeLog	Tue Jan 11 23:43:03 2005
@@ -1,3 +1,10 @@
+2005-01-11  Hiroyuki Komatsu  <komat****@taiya*****>
+
+	* Suikyo 2.0.1:
+	- Fixed a bug coused from suikyo-composer.rb.
+	- Added new conversion tables: azik-all and azik-all_reverse.
+	- Added a formatting rule to remove conversion rules.
+
 2004-12-23  Hiroyuki Komatsu  <komat****@taiya*****>
 
 	* Makefile.am: 


Prime-cvs メーリングリストの案内
Back to archive index