mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
Bug 717372 - The clobber information should live in the tree; r=khuey
This commit is contained in:
parent
a729bf24e2
commit
72c2f648db
18
CLOBBER
Normal file
18
CLOBBER
Normal file
@ -0,0 +1,18 @@
|
||||
# To Trigger a clobber replace ALL of the textual description below,
|
||||
# giving a bug number and a one line description of why a clobber is
|
||||
# required. Modifying this file will make configure check that a
|
||||
# clobber has been performed before the build can continue.
|
||||
#
|
||||
# MERGE NOTE: When merging two branches that require a CLOBBER, you should
|
||||
# merge both CLOBBER descriptions, to ensure that users on
|
||||
# both branches correctly see the clobber warning.
|
||||
#
|
||||
# O <-- Users coming from both parents need to Clobber
|
||||
# / \
|
||||
# O O
|
||||
# | |
|
||||
# O <-- Clobber O <-- Clobber
|
||||
#
|
||||
# Note: The description below will be part of the error message shown to users.
|
||||
#
|
||||
Bug 717372 - The clobber information should live in the tree
|
@ -279,6 +279,7 @@ CONFIG_STATUS_DEPS := \
|
||||
$(wildcard $(TOPSRCDIR)/*/confvars.sh) \
|
||||
$(CONFIGURES) \
|
||||
$(TOPSRCDIR)/allmakefiles.sh \
|
||||
$(TOPSRCDIR)/CLOBBER \
|
||||
$(TOPSRCDIR)/nsprpub/configure \
|
||||
$(TOPSRCDIR)/config/milestone.txt \
|
||||
$(TOPSRCDIR)/js/src/config/milestone.txt \
|
||||
|
16
configure.in
16
configure.in
@ -123,6 +123,22 @@ then
|
||||
fi
|
||||
MOZ_BUILD_ROOT=`pwd`
|
||||
|
||||
dnl Do not allow building if a clobber is required
|
||||
dnl ==============================================================
|
||||
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:"
|
||||
cat $_topsrcdir/CLOBBER | sed '/^#/d' | sed 's/^/ * /'
|
||||
echo " ***"
|
||||
exit 1
|
||||
break;
|
||||
fi
|
||||
else
|
||||
touch $_objdir/CLOBBER
|
||||
fi
|
||||
|
||||
MOZ_PATH_PROGS(PYTHON, $PYTHON python2.7 python2.6 python2.5 python)
|
||||
if test -z "$PYTHON"; then
|
||||
AC_MSG_ERROR([python was not found in \$PATH])
|
||||
|
Loading…
Reference in New Issue
Block a user