* Makefile (distclean): New rule.
authorueno <ueno>
Tue, 7 May 2002 23:09:28 +0000 (23:09 +0000)
committerueno <ueno>
Tue, 7 May 2002 23:09:28 +0000 (23:09 +0000)
* cvs2cl/fmtlog.rb: Eliminate the first colon from "* Makefile: (...): ".

Makefile
cvs2cl/fmtlog.rb

index cda70c8..6d4e160 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -37,6 +37,9 @@ ChangeLog:
        cvs2cl --prune --no-wrap --usermap ./cvs2cl/usermap --gmt --stdout | \
        ruby -p -i ./cvs2cl/fmtlog.rb > $@
 
-.PHONY: clean
+.PHONY: clean distclean
 clean:
        -$(RM) $(GOMI)
+
+distclean:
+       -$(RM) ChangeLog
index 490f19f..737c748 100644 (file)
@@ -4,6 +4,8 @@ when /^\t(\* ([^:]+): )\* ([^: ]+)/
   if files.split(/, /).member?(file)
     $_.slice!(data.begin(1) .. data.end(1) - 1)
   end
+when /^\t\* [^:]+(:) \(/
+  $_.slice!($~.begin(1) .. $~.end(1) - 1)
 when /^\d{4}-\d{2}-\d{2}( \d{2}:\d{2})/
   $_.slice!($~.begin(1) .. $~.end(1) - 1)
 end