rev 10654 - scripts
Modestas Vainius
modax-guest at alioth.debian.org
Tue May 20 12:21:20 UTC 2008
Author: modax-guest
Date: 2008-05-20 12:21:19 +0000 (Tue, 20 May 2008)
New Revision: 10654
Modified:
scripts/autofixtll
Log:
v0.5.5: Support CMakeLists.txt in top build directory
Modified: scripts/autofixtll
===================================================================
--- scripts/autofixtll 2008-05-19 23:00:14 UTC (rev 10653)
+++ scripts/autofixtll 2008-05-20 12:21:19 UTC (rev 10654)
@@ -441,9 +441,9 @@
chomp;
if ($link_cmd) {
#cd /buildd/kdebase-workspace/obj-x86_64-linux-gnu/kwin/kcmkwin/kwindecoration && /usr/bin/cmake -E cmake_link_script CMakeFiles/kcm_kwindecoration.dir/link.txt $MSG_PREFIXverbose=1
- if (m#^cd ["']?(.*?)["']? && .*/cmake -E cmake_link_script CMakeFiles/(.*?)\.dir/#) {
+ if (m#^(?:cd ["']?(.*?)["']? && )?.*/cmake -E cmake_link_script CMakeFiles/(.*?)\.dir/#) {
$btarget = $2;
- $bdir = File::Spec->abs2rel(Cwd::realpath($1), $builddir);
+ $bdir = ($1) ? File::Spec->abs2rel(Cwd::realpath($1), $builddir) : ".";
$link_cmd = 0;
} else {
die "Unrecognized link line";
@@ -534,7 +534,7 @@
############## Main loop ##############################
-$main::VERSION = "0.5.4";
+$main::VERSION = "0.5.5";
my $sourcedir = Cwd::getcwd();
my $builddir = "obj-" . get_gnu_build_type();
More information about the pkg-kde-commits
mailing list