Run makewhatis(8) after 'make upgrade' instead of after 'make installworld'.
authorSascha Wildner <saw@online.de>
Sat, 12 Jun 2010 03:07:57 +0000 (05:07 +0200)
committerSascha Wildner <saw@online.de>
Sat, 12 Jun 2010 03:07:57 +0000 (05:07 +0200)
commit30d8ccf3a0c355b1429bfeb982cfe9f4b7bd2d6c
tree152720ed876d45834bd692e29d01afee4070a5ae
parent9f49bd272b220d77e45585a86017f6ca96b14a69
Run makewhatis(8) after 'make upgrade' instead of after 'make installworld'.

'make upgrade' does (among other things) remove obsolete manual pages. If
makewhatis(8) is run after 'make installworld' (i.e. before upgrade), the
whatis database will still contain them. Therefore, run makewhatis(8)
after 'make upgrade' when the removals are done.

Pointed-out-by: tuxillo
While here, clean up the upgrade target in /usr/src/Makefile a little bit.
Makefile
Makefile.inc1