From f97510b7308e8fbccbb76cce7de2e0935edcb78a Mon Sep 17 00:00:00 2001 From: "David M. Lee" Date: Thu, 13 Sep 2012 20:05:54 +0000 Subject: Fixed make clean when configured --disable-asteriskssl ........ Merged revisions 373047 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@373048 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main/Makefile b/main/Makefile index a287e1333..feedf224b 100644 --- a/main/Makefile +++ b/main/Makefile @@ -278,7 +278,10 @@ ifneq ($(LDCONFIG),) endif clean:: - rm -f asterisk libasteriskssl.o $(ASTSSL_LIB) $(ASTSSL_LIB).* + rm -f asterisk libasteriskssl.o +ifeq ($(AST_ASTERISKSSL),yes) + rm -f $(ASTSSL_LIB) $(ASTSSL_LIB).* +endif rm -f asterisk.exports libasteriskssl.exports @if [ -f editline/Makefile ]; then $(MAKE) -C editline distclean ; fi @$(MAKE) -C stdtime clean -- cgit v1.2.3