Change how backup/restore make task works.

Now we write $SRC/.config.mk.last to store the most recent configure
variables for the backup and restore task. Also, they no longer fail if
they can't find the variables, and will skip the backup/restore stages
and keep going.
This commit is contained in:
Jack Moffitt 2014-04-29 11:10:22 -06:00
parent 6d2b6452e8
commit 676c5b6949
3 changed files with 7 additions and 4 deletions

1
configure vendored
View file

@ -565,6 +565,7 @@ putvar CFG_ENABLE_DEBUG_SKIA
msg
copy_if_changed ${CFG_SRC_DIR}Makefile.in ${CFG_BUILD_HOME}Makefile
move_if_changed ${CFG_BUILD_HOME}config.tmp ${CFG_BUILD_HOME}config.mk
copy_if_changed ${CFG_BUILD_HOME}config.mk ${CFG_SRC_DIR}/.config.mk.last
rm -f ${CFG_BUILD_HOME}config.tmp
touch ${CFG_BUILD_HOME}config.stamp