diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> | 2006-06-07 09:16:49 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> | 2006-06-07 09:16:49 +0000 |
commit | f68cacd77a6877097d96100cca545c1b08226b86 (patch) | |
tree | 3bcd5ae5db5863b4aa1f8d2ee11300855b54a8e2 /Makefile.PL | |
parent | 6accbe69a06fbeb8a4c10fbcb043fc4f141360e4 (diff) | |
download | urpmi-f68cacd77a6877097d96100cca545c1b08226b86.tar urpmi-f68cacd77a6877097d96100cca545c1b08226b86.tar.gz urpmi-f68cacd77a6877097d96100cca545c1b08226b86.tar.bz2 urpmi-f68cacd77a6877097d96100cca545c1b08226b86.tar.xz urpmi-f68cacd77a6877097d96100cca545c1b08226b86.zip |
Update makefile to use svn2cl, and regenerate ChangeLog.
Diffstat (limited to 'Makefile.PL')
-rw-r--r-- | Makefile.PL | 12 |
1 files changed, 11 insertions, 1 deletions
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 |