Bug 822487 - Improve CLOBBER instructions and note how to bypass it. r=gps, 1stpatch=bgirard@mozilla.com

This commit is contained in:
Justin Dolske 2013-01-02 16:14:24 -08:00
Родитель 5c13e9f2ca
Коммит 81e0ac15a9
1 изменённых файлов: 9 добавлений и 1 удалений

Просмотреть файл

@ -129,8 +129,16 @@ dnl TODO Make this better, ideally this would clobber automaticially
if test -e $_objdir/CLOBBER; then
if test $_topsrcdir/CLOBBER -nt $_objdir/CLOBBER; then
echo " ***"
echo " * CLOBBER has been modified indicating a clobber is required:"
echo " * The CLOBBER file has been updated, indicating that an incremental build"
echo " * since your last build will probably not work. A full build is required."
echo " * The change that caused this is:"
cat $_topsrcdir/CLOBBER | sed '/^#/d' | sed 's/^/ * /'
echo " * "
echo " * The easiest way to fix this is to manually delete your objdir:"
echo " * rm -rf $_objdir"
echo " * "
echo " * Or, if you know this clobber doesn't apply to you, it can be ignored with:"
echo " * cp '$_topsrcdir/CLOBBER' $_objdir"
echo " ***"
exit 1
break;