зеркало из https://github.com/mozilla/gecko-dev.git
Check for Makefile.in before Makefile.
This commit is contained in:
Родитель
bfc31dcc01
Коммит
e94c323d07
|
@ -62,12 +62,12 @@ find_depth() {
|
|||
target_makefile=`pwd`"/${subdir}Makefile"
|
||||
|
||||
# Use $(DEPTH) in the Makefile or Makefile.in to determine the depth
|
||||
if [ -f Makefile ]
|
||||
then
|
||||
depth=`find_depth Makefile`
|
||||
elif [ -f Makefile.in ]
|
||||
if [ -f Makefile.in ]
|
||||
then
|
||||
depth=`find_depth Makefile.in`
|
||||
elif [ -f Makefile ]
|
||||
then
|
||||
depth=`find_depth Makefile`
|
||||
elif [ -f ../Makefile ]
|
||||
then
|
||||
depth="../"`find_depth Makefile`
|
||||
|
|
Загрузка…
Ссылка в новой задаче