mirror of https://github.com/CGAL/cgal
suppress "undefined reference warnings" for html/package mode
(now, ps/pdf/html behave the same)
This commit is contained in:
parent
dca595a3b8
commit
99e09ad1f8
|
|
@ -1131,8 +1131,13 @@ run_html() {
|
||||||
return $RetCode
|
return $RetCode
|
||||||
fi
|
fi
|
||||||
if [ $RetCode -eq 0 ] ; then
|
if [ $RetCode -eq 0 ] ; then
|
||||||
if grep -v 'lines written' $1.hlg | \
|
if [ $MakePackage -eq 0 ]; then
|
||||||
grep -i warn > /dev/null ; then RetCode=2; fi
|
if grep -v 'lines written' $1.hlg | grep -i warn > /dev/null ; then RetCode=2; fi
|
||||||
|
else # for CGAL Packages, also ignore warnings of undef. references
|
||||||
|
if grep -v 'lines written' $1.hlg | egrep -v "[!][!] Warning: undefined label" | \
|
||||||
|
grep -i warn > /dev/null ;
|
||||||
|
then RetCode=2; fi
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
report_html $1
|
report_html $1
|
||||||
cleanup_html $1
|
cleanup_html $1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue