Re: nonsrcdir builds for projects using gtk-doc ?



And why is attach so close to send ? :) This time, with the script
attached.
> Does anyone know if it's supposed to be possible to do a nonsrcdir build
> for a project using gtk-doc ? I was trying to debug why this isn't
> working for GStreamer, then noticed it doesn't seem to work for even
> glib.



Dave/Dina : future TV today ! - http://www.davedina.org/
<-*- thomas (dot) apestaart (dot) org -*->
slips her dress like a fly to the floor
hands in the sky surrenders it all
<-*- thomas (at) apestaart (dot) org -*->
URGent, best radio on the net - 24/7 ! - http://urgent.fm/

#!/bin/bash

if test ! -f autogen.sh
then
  echo "Please run this from a directory that has autogen.sh !"
  exit
fi

BASE=`pwd`
echo "+ autogen"
./autogen.sh || exit 1
echo "+ distclean"
make distclean || exit 1
cvs up
mkdir -p _build
cd _build
echo "+ configure"
echo ../configure --srcdir=.. --prefix=$BASE/_inst --enable-gtk-doc > reconfigure
chmod +x reconfigure
./reconfigure || exit 1
echo "+ make"
make || exit 1
echo "+ make dist"
make dist || exit 1
echo "+ make install"
make install || exit 1
echo "non-srcdir build successful"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]