File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ find_top_makefile() {
1212 echo obj-x86_64-linux-gnu/Makefile
1313 return
1414 fi
15- for makefile in $( find -name ' [Mm]akefile' ) ; do
15+ for makefile in $( find -name ' [Mm]akefile' -o -name GNUmakefile ) ; do
1616 depth=$( echo $makefile | grep -o / | wc -l)
1717 echo $makefile $depth
1818 done | sort -nk2 | head -1 | awk ' {print $1}'
@@ -39,7 +39,7 @@ try_build_goals() {
3939try_build_subdirs () {
4040 for subdir in test tests testsuite example examples; do
4141 for g in $@ ; do
42- if (test -d $subdir && test -f $subdir /Makefile -o -f $subdir /makefile && cd $subdir && try_build_goal $g ); then
42+ if (test -d $subdir && test -f $subdir /Makefile -o -f $subdir /makefile -o -f $subdir /GNUmakefile && cd $subdir && try_build_goal $g ); then
4343 return 0
4444 fi
4545 done
You can’t perform that action at this time.
0 commit comments