summaryrefslogtreecommitdiffstats
path: root/Makefile.PL
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.com>2006-06-07 09:16:49 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.com>2006-06-07 09:16:49 +0000
commitf68cacd77a6877097d96100cca545c1b08226b86 (patch)
tree3bcd5ae5db5863b4aa1f8d2ee11300855b54a8e2 /Makefile.PL
parent6accbe69a06fbeb8a4c10fbcb043fc4f141360e4 (diff)
downloadurpmi-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.PL12
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