[Prime-cvs] CVS update: prime

Back to archive index

Hiroyuki Komatsu komat****@users*****
2005年 1月 16日 (日) 04:47:16 JST


Index: prime/Makefile.am
diff -u prime/Makefile.am:1.6.4.3 prime/Makefile.am:1.6.4.4
--- prime/Makefile.am:1.6.4.3	Fri Dec 31 05:20:23 2004
+++ prime/Makefile.am	Sun Jan 16 04:47:16 2005
@@ -1,5 +1,5 @@
 # Makefile.am: Template of Automake for prime.
-# $Id: Makefile.am,v 1.6.4.3 2004/12/30 20:20:23 komatsu Exp $
+# $Id: Makefile.am,v 1.6.4.4 2005/01/15 19:47:16 komatsu Exp $
 #
 # Copyright (C) 2003 Hiroyuki Komatsu <komat****@taiya*****>
 #     All rights reserved.
@@ -30,12 +30,28 @@
 	dch -v "$(VERSION)-0.local.1" 'Local build.'
 	fakeroot make -f debian/rules binary
 
-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 ; rm -rf usr
+	cd cygwin/dist ; tar cjf ../$(PACKAGE)-$(VERSION).tar.bz2 usr ; rm -rf usr
 	make install-etc
-	cd cygwin ; tar cjf $(PACKAGE)-etc-$(VERSION).tar.bz2 usr ; rm -rf usr
-	./configure
\ No newline at end of file
+	cd cygwin/dist ; tar cjf ../$(PACKAGE)-etc-$(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: prime/ChangeLog
diff -u prime/ChangeLog:1.55.4.33 prime/ChangeLog:1.55.4.34
--- prime/ChangeLog:1.55.4.33	Fri Dec 31 15:05:01 2004
+++ prime/ChangeLog	Sun Jan 16 04:47:16 2005
@@ -1,3 +1,14 @@
+2005-01-16  Hiroyuki Komatsu  <komat****@taiya*****>
+
+	* Makefile.am (Module): 
+	Added a Cygwin entry.
+
+	* lib/engine/engine-alphabet.rb: 
+	Added annotations for 「ぺ」 and 「べ」.
+
+	* lib/server.rb (session_loop):
+	Fixed a bug which does not consider with nil.
+
 2004-12-31  Hiroyuki Komatsu  <komat****@taiya*****>
 
 	* lib/prime.rb: 


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