configure: clean up INSTALL_LOCATION/configure unless installing in TOP

This commit is contained in:
Ralph Lange
2017-07-21 13:16:46 +02:00
parent 80efa20729
commit d9515dbabc

View File

@@ -21,6 +21,9 @@ realuninstall: uninstallDirs
UNINSTALL_DIRS += $(INSTALL_DBD) $(INSTALL_INCLUDE) $(INSTALL_DOC) \
$(INSTALL_HTML) $(INSTALL_TEMPLATES) $(INSTALL_DB) $(DIRECTORY_TARGETS)
ifneq ($(INSTALL_LOCATION),$(TOP))
UNINSTALL_DIRS += $(INSTALL_CONFIG)
endif
uninstallDirs:
$(RMDIR) $(UNINSTALL_DIRS)