Make building kdebindings not suck.

svn path=/trunk/kdenonbeta/kdecvs-build/; revision=336944
wilder
Michael Pyne 22 years ago
parent c43babb022
commit 7be18e196b
  1. 4
      HISTORY
  2. 11
      doc.html.in
  3. 21
      kdecvs-build

@ -1,3 +1,7 @@
Version history: 0.82
* Add hack to make kdebindings build using builddir == srcdir even though
srcdir is really != builddir.
Version history: 0.81
* Fix use-qt-builddir-hack to work on the second and subsequent runs.
* Add a warning if you're using qt-copy but qtdir isn't set to use qt-copy

@ -65,6 +65,15 @@ those who either can't or don't feel like installing it.</p>
<p id="emailaddy">It is authored by Michael Pyne (mpyne (AT) grammarian (DOT) homelinux
(DOT) net), and is one of several build scripts for this purpose.</p>
<p><b>2004-Aug-09:</b> v0.82<br/>
New features:
<ul>
<li>You should no longer get a build error with kdebindings due to the
argument length being too long. This is done by using an alternate method
of implementing builddir != srcdir that isn't quite as nice, but seems to
work well in practice. Bug reports on this are appreciated.</li>
</ul>
<p><b>2004-Aug-03:</b> v0.81<br/>
New features:
<ul>
@ -820,7 +829,7 @@ href="#options">.kdecvs-buildrc options</a>.
<div align="center" class="thankyou">
<font size="-1"><a href="http://www.cvsup.org/">CVSup</a> is a registered trademark of John D. Polstra.
<br/>
Last modified: Tue Aug 3 21:27:04 2004</font>
Last modified: Mon Aug 9 02:45:32 2004</font>
</div>
</body>
</html>

@ -1434,6 +1434,8 @@ sub safe_configure
my $kdedir = get_option ('global', 'kdedir');
push @commands, "CXXFLAGS=$cxxflags" if $cxxflags;
push @commands, "--prefix=$kdedir";
$script = get_build_dir('kdebindings') . '/kdebindings/configure' if $module eq 'kdebindings';
}
else
{
@ -1479,6 +1481,20 @@ sub safe_create_build_system
chdir ("$kdecvs/$module");
chdir ("$builddir/$module") if $module eq 'qt-copy' and get_option('qt-copy', 'use-qt-builddir-hack');
if ($module eq 'kdebindings')
{
# Use a slightly less method of builddir != srcdir for kdebindings,
# as it fails otherwise.
chdir (get_build_dir($module) . "/$module");
if (log_command ($module, "lndir", [ "lndir", "$kdecvs/$module" ]))
{
print "\tUnable to setup special build system for kdebindings.\n";
return 1;
}
}
if ($instapps)
{
open (INSTAPPS, ">inst-apps") or do {
@ -1706,7 +1722,10 @@ sub setup_build_system
}
}
if ($do_makeconf or not -e "$kdecvs/$module/configure")
my $confpath = "$kdecvs/$module";
$confpath = get_build_dir($module) . "/$module" if $module eq 'kdebindings';
if ($do_makeconf or not -e "$confpath/configure")
{
print "\tRecreating configure script.\n";

Loading…
Cancel
Save