* Makefile (ChangeLog): New rule.
authorueno <ueno>
Tue, 7 May 2002 14:43:04 +0000 (14:43 +0000)
committerueno <ueno>
Tue, 7 May 2002 14:43:04 +0000 (14:43 +0000)
* cvs2cl/fmtlog.rb: New file.
* cvs2cl/usermap: New file.

Makefile
cvs2cl/fmtlog.rb [new file with mode: 0644]
cvs2cl/usermap [new file with mode: 0644]

index 4321783..35276e6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -33,6 +33,10 @@ package:
 install-package:       package
        $(XEMACS) $(FLAGS) -f install-lsdb-package $(PACKAGEDIR)
 
+ChangeLog: *.el README Makefile
+       cvs2cl --prune --no-wrap --usermap ./cvs2cl/usermap --gmt --stdout | \
+       ruby -p -i ./cvs2cl/fmtlog.rb > ChangeLog
 
+.PHONY: clean
 clean:
        -$(RM) $(GOMI)
diff --git a/cvs2cl/fmtlog.rb b/cvs2cl/fmtlog.rb
new file mode 100644 (file)
index 0000000..158e16c
--- /dev/null
@@ -0,0 +1,6 @@
+if /^\t\* ([^:]+): (\* \1)/
+  $_ = "\t#{$2}#{$'}"
+elsif /^(\d{4}-\d{2}-\d{2}) \d{2}:\d{2}/
+  $_ = "#{$1}#{$'}"
+end
+
diff --git a/cvs2cl/usermap b/cvs2cl/usermap
new file mode 100644 (file)
index 0000000..430675e
--- /dev/null
@@ -0,0 +1,3 @@
+ueno:Daiki Ueno <ueno@unixuser.org>
+yoichi:Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
+