From 314287cbb46cd843b27241008ba5bfbdc8d5de6e Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 31 Jan 2006 15:21:35 +0000 Subject: [PATCH] backport: deal with branches in "make log" --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index b258d73..2257614 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,7 +4,8 @@ EXTRA_DIST = debian isync.spec $(bin_SCRIPTS) log: @perl -p -e "s/^(\\S+)\\s+(\\S.+\\S)\\s+(\\S+)\\s*\$$/\$$1:'\$$2 <\$$3>'\\n/" < ../CVSROOT/accounts > .usermap - cvs2cl -U .usermap --no-wrap --separate-header -I ChangeLog -I NEWS -I TODO -I debian/ + @if test -f CVS/Tag; then tag=`cut -c2- CVS/Tag`; else tag=trunk; fi; \ + cvs2cl -U .usermap -F $$tag --no-wrap --separate-header -I ChangeLog -I NEWS -I TODO -I debian/ @rm -f .usermap ChangeLog.bak deb: