Modified allmakefiles.sh setup to use autoconf's default $srcdir. Also fixes mailnews not building in separate obj tree.
git-svn-id: svn://10.0.0.236/trunk@23077 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
3b08f1c684
commit
58aea2a7f4
@ -34,6 +34,10 @@ add_makefiles() {
|
||||
done
|
||||
}
|
||||
|
||||
if [ -z "${srcdir}" ]; then
|
||||
srcdir=.
|
||||
fi
|
||||
|
||||
add_makefiles <<END_NGMAKEFILES
|
||||
Makefile
|
||||
base/Makefile
|
||||
@ -337,5 +341,5 @@ END_EDITOR_MAKEFILES
|
||||
fi
|
||||
|
||||
if [ "$MOZ_MAIL_NEWS" ]; then
|
||||
add_makefiles < mailnews/makefiles
|
||||
add_makefiles < ${srcdir}/mailnews/makefiles
|
||||
fi
|
||||
|
||||
@ -1405,7 +1405,6 @@ done
|
||||
# Load the list of Makefiles to generate.
|
||||
# To add new Makefiles, edit allmakefiles.sh.
|
||||
# allmakefiles.sh sets the variable, MAKEFILES.
|
||||
_topsrcdir=`dirname [$]0`
|
||||
. $_topsrcdir/allmakefiles.sh
|
||||
. ${srcdir}/allmakefiles.sh
|
||||
|
||||
AC_OUTPUT($MAKEFILES)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user