This is mostly important for the plugins.
A new installation may want to install a different set of plugins.
Cleaning up before re-installing makes sure that plugins from old
installations are properly removed.
Signed-off-by: Gordon Hecker <gh@emlix.com>
NEXT:
* BuildIds are now calculated in advance to detect errors immediately
before starting the first build process
+ * remove old local installation before re-installing. Plugins were not
+ removed in e2-install-e2 before.
e2factory-2.3.6
* the release build process changed: Results are now stored on the
install-local:
scripts/e2-locate-project-root
+ @echo removing old installation...
+ rm -rf $(LOCALBINDIR)
+ rm -rf $(LOCALLIBDIR)
+ rm -rf $(LOCALMAKDIR)
+ @echo removing old plugins...
+ rm -rf $(LOCALPLUGINDIR)
$(MAKE) -C generic install-local
$(MAKE) -C local install-local
$(MAKE) -C templates install-local