]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
This fixes bug 10416; thanks to mvanbaak for the pretty output
authorSteve Murphy <murf@digium.com>
Thu, 9 Aug 2007 23:10:46 +0000 (23:10 +0000)
committerSteve Murphy <murf@digium.com>
Thu, 9 Aug 2007 23:10:46 +0000 (23:10 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@78891 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index fb8466a35bdc6e4a3ecae89dc12a1ebdc9ddd7bf..8ddc8ae4c931582e3b8a8ca16dc94306a57aaeea 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -280,7 +280,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)
@@ -482,14 +486,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    +"
@@ -660,7 +672,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