Fixed problem on uninstall with no bin/* and lib/* dirs.

This commit is contained in:
Andrew Johnson
2004-03-25 16:44:29 +00:00
parent 6a71ba0026
commit d80664f33f

View File

@@ -20,13 +20,14 @@ $(uninstallArchTargets): uninstallDirs
@$(RMDIR) $(INSTALL_LOCATION_BIN)/$(archPart) $(INSTALL_LOCATION_LIB)/$(archPart)
cleandirs:
@echo " " #stops "nothing to be done for cleandirs" message
ifeq ($(wildcard $(INSTALL_LOCATION_BIN)/*),)
@$(RMDIR) $(INSTALL_LOCATION_BIN)
endif
ifeq ($(wildcard $(INSTALL_LOCATION_LIB)/*),)
@$(RMDIR) $(INSTALL_LOCATION_LIB)
endif
echo
# The echo above stops a "nothing to be done for cleandirs" message
distclean: realclean realuninstall