From 9574829a439eae24c93428166a2ec1e6b9afa0ab Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Mon, 1 Jul 1996 20:14:55 +0000 Subject: [PATCH] Added uninstall of config dir. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 334070f6da..ad6fd21c51 100644 --- a/Makefile +++ b/Makefile @@ -93,6 +93,8 @@ uninstall.%: @rm -rf $(INSTALL_LOCATION_BIN)/$* $(INSTALL_LOCATION_LIB)/$* \ $(INSTALL_LOCATION)/dbd $(INSTALL_MAN) $(INSTALL_INCLUDE) @rm -rf rec.bak rec + @DIR1=`pwd`;cd $(INSTALL_LOCATION);DIR2=`pwd`;cd $$DIR1;\ + if [ "$$DIR1" != "$$DIR2" ]; then rm -fr $(INSTALL_LOCATION)/config; fi clean.%: @echo "TOP: Cleaning $* " @@ -100,4 +102,3 @@ clean.%: @find config -type d -name "O.$*" -prune -exec rm -rf {} \; -