From aeaad6318628cdfde48f188d71af2413acd70d13 Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Wed, 7 Aug 1996 20:49:37 +0000 Subject: [PATCH] Now includes RULES_TOP, changed DIRS def. --- Makefile | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index b87117130..64976c599 100644 --- a/Makefile +++ b/Makefile @@ -16,19 +16,9 @@ TOP=. include $(TOP)/config/CONFIG_BASE -# -# Directories to build defined in CONFIG_BASE -# +DIRS = src config -include $(TOP)/config/RULES_DIRS - -uninstall:: $(foreach arch, $(BUILD_ARCHS), $(arch)$(DIVIDER)uninstall) -%$(DIVIDER)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 +include $(TOP)/config/RULES_TOP release: @echo TOP: Creating Release... @@ -38,3 +28,7 @@ built_release: install @echo TOP: Creating Fully Built Release... @./MakeRelease ${TOP} -b +uninstall:: + @DIR1=`pwd`;cd $(INSTALL_LOCATION);DIR2=`pwd`;cd $$DIR1;\ + if [ "$$DIR1" != "$$DIR2" ]; then rm -fr $(INSTALL_LOCATION)/config; fi +