From f68cacd77a6877097d96100cca545c1b08226b86 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Wed, 7 Jun 2006 09:16:49 +0000 Subject: Update makefile to use svn2cl, and regenerate ChangeLog. --- Makefile.PL | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'Makefile.PL') diff --git a/Makefile.PL b/Makefile.PL index 14b09f09..e11e6625 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -89,6 +89,16 @@ sub manifypods { $inherited; } +# to generate the ChangeLog depending on the checkout layout +my $commonusername = "../common/"; +-d $commonusername or do { + $commonusername = "../../common/"; + -d $commonusername or do { + $commonusername = "../../../common/"; + -d $commonusername or $commonusername = ""; + }; +}; + # Additional targets sub postamble { <<"**MM**"; @@ -113,7 +123,7 @@ installgurpmi2: pure_install ln -s -f consolehelper \$(DESTINSTALLSCRIPT)/gurpmi2 ChangeLog: - cvs2cl -W 400 -I ChangeLog --accum -U ../../soft/common/username + svn2cl --accum --strip-prefix=soft/rpm/urpmi/trunk --authors ${commonusername}username.xml rm -f *.bak rpmdist: dist -- cgit v1.2.1