build: implement automatic world backups
authorJohn Marino <draco@marino.st>
Sun, 17 Feb 2013 20:14:48 +0000 (21:14 +0100)
committerJohn Marino <draco@marino.st>
Sun, 17 Feb 2013 20:42:47 +0000 (21:42 +0100)
commit61443441615c49aa6d0ba3d401e7335014e372b4
tree4af7cb452f824cb256ef98d3c71b33f2b9e10996
parent827dd259f7cb033a5b5a0b986a270f5fe455b531
build: implement automatic world backups

The directives DAYS_BACKUP and NO_BACKUP have been removed.
The "backupworld" target will save important directories to the WORLD_BACKUP
directory just as before, and it is restored with the "restoreworld" target.

Additionally, every time the "installworld" target is executed, the same
directories will be automatically backed up at the location of
${MAKEOBJDIRPREFIX}/world_backup .  These directories could be restored
with the new make target "restoreworld-auto".

The WORLD_BACKUP location default is now /var/backups/world_backup .
The directory /usr/lib has been added to the backup list.
The more useless errors seen with a broken world have been removed, these
came in with bmake.
Makefile
Makefile.inc1
share/man/man5/make.conf.5