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:
cls%seawood.org 1999-03-06 20:38:24 +00:00
parent 3b08f1c684
commit 58aea2a7f4
2 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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)