From 97f48f56ed49d566ce19b2fe4b5baedacc9d2ace Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 31 Jan 2006 13:57:48 +0000 Subject: [PATCH] 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: