diff --git a/configure/RULES_TOP b/configure/RULES_TOP index 3d60b5af8..838994bd0 100644 --- a/configure/RULES_TOP +++ b/configure/RULES_TOP @@ -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)