Merged revisions 78891 via svnmerge from
authorSteve Murphy <murf@digium.com>
Thu, 9 Aug 2007 23:32:23 +0000 (23:32 +0000)
committerSteve Murphy <murf@digium.com>
Thu, 9 Aug 2007 23:32:23 +0000 (23:32 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r78891 | murf | 2007-08-09 17:10:46 -0600 (Thu, 09 Aug 2007) | 1 line

This fixes bug 10416; thanks to mvanbaak for the pretty output
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78906 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index 9571472..6b52e0a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -281,7 +281,11 @@ all: _all
        @echo " + Asterisk has successfully been built, and +"  
        @echo " + can be installed by running:              +"
        @echo " +                                           +"
+ifeq ($(MAKE), gmake)
+       @echo " +               $(MAKE) install               +"  
+else
        @echo " +               $(MAKE) install                +"  
+endif
        @echo " +-------------------------------------------+"  
 
 _all: cleantest $(SUBDIRS)
@@ -490,14 +494,22 @@ install: datafiles bininstall $(SUBDIRS_INSTALL)
        @echo " + configuration files (overwriting any      +"
        @echo " + existing config files), run:              +"  
        @echo " +                                           +"
+ifeq ($(MAKE), gmake)
+       @echo " +               $(MAKE) samples               +"
+else
        @echo " +               $(MAKE) samples                +"
+endif
        @echo " +                                           +"
        @echo " +-----------------  or ---------------------+"
        @echo " +                                           +"
        @echo " + You can go ahead and install the asterisk +"
        @echo " + program documentation now or later run:   +"
        @echo " +                                           +"
+ifeq ($(MAKE), gmake)
+       @echo " +              $(MAKE) progdocs               +"
+else
        @echo " +              $(MAKE) progdocs                +"
+endif
        @echo " +                                           +"
        @echo " + **Note** This requires that you have      +"
        @echo " + doxygen installed on your local system    +"
@@ -669,7 +681,11 @@ uninstall: _uninstall
        @echo " + directories, and logs, run the following  +"
        @echo " + command:                                  +"
        @echo " +                                           +"
+ifeq ($(MAKE), gmake)
+       @echo " +            $(MAKE) uninstall-all            +"  
+else
        @echo " +            $(MAKE) uninstall-all             +"  
+endif
        @echo " +-------------------------------------------+"  
 
 uninstall-all: _uninstall