From: ueno Date: Tue, 7 May 2002 23:09:28 +0000 (+0000) Subject: * Makefile (distclean): New rule. X-Git-Tag: lsdb-0_6~2 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84dc90292644bbe6308e3fffbe8bd6b060297371;p=elisp%2Flsdb.git * Makefile (distclean): New rule. * cvs2cl/fmtlog.rb: Eliminate the first colon from "* Makefile: (...): ". --- diff --git a/Makefile b/Makefile index cda70c8..6d4e160 100644 --- 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 diff --git a/cvs2cl/fmtlog.rb b/cvs2cl/fmtlog.rb index 490f19f..737c748 100644 --- a/cvs2cl/fmtlog.rb +++ b/cvs2cl/fmtlog.rb @@ -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