make upgrade: Clear out installer files conditionally
authorJohn Marino <draco@marino.st>
Tue, 10 Mar 2015 14:08:52 +0000 (15:08 +0100)
committerJohn Marino <draco@marino.st>
Tue, 10 Mar 2015 15:09:26 +0000 (16:09 +0100)
commit8a71718789fb03e38b77cce54e88d2300b2f9f6a
treec4744ce8ebec730c7fe884d096059d480edf349d
parentdff08fe7fd957453edf54865845e605849f2173a
make upgrade: Clear out installer files conditionally

Installing DragonFly from an image installer will end up coping the
installer itself to /usr/sbin.  This is just cpdup doing what it's told.

The other way these installers could get there is if it's intentionally
built using the WANT_INSTALLER knob.  So remove these files if the
WANT_INSTALLER variable is not defined.

suggested-by: swildner
Makefile_upgrade.inc