Page 77 - Asterisk™: The Future of Telephony
P. 77

Alternative make Arguments
               There are several other make arguments that you can pass at compile time. While some
               of these will be discussed here, the remainder are used internally within the file and
               really have no bearing or use for the end user. (Of course, new functions may have been
               added, so be sure to check the Makefile for other options.)
               Let’s take a look at some useful make arguments.

               make clean
               The make clean command is used to remove the compiled binaries from within the
               source directory. This command should be run before you attempt to recompile or, if
               space is an issue, if you would like to clean up the files.


               make distclean
               The make distclean command is used to remove the compiled binaries and to clean
               the source directory back to its original state after being extracted from the compressed
               archive.

               make update
               The make update command is used to update the existing code from the Digium SVN
               server. If you downloaded the source code from the FTP server, you will receive a notice
               stating so.

               make webvmail
               The Asterisk Web Voicemail script is used to give a graphical interface to your voicemail
               account, allowing you to manage and interact with your voicemail remotely from a web
               browser.
               When you run the make webvmail command, the Asterisk Web Voicemail script will be
               placed into the cgi-bin/ directory of your HTTP daemon. If you have specific policies
               with respect to security, be aware that it uses a setuid root Perl script. This command
               will install only on a CentOS or Fedora box, as other distributions may have different
               paths  to  their  cgi-bin/  directories.  (This,  of  course,  can  be  changed  by  editing  the
               HTTP_CFGDIR variable in the Makefile at line 133 at the time of this writing.)

               make progdocs

               The make progdocs command will create documentation using the doxygen software
               from comments placed within the source code by the developers. You must have the
               appropriate doxygen software installed on your system in order for this to work. Note
               that doxygen assumes that the source code is well documented, which, sadly, is not
               always the case, although much work was published since the first edition of this book!
               The information contained within the doxygen system will be useful only to developers.


                                                                        Compiling Asterisk | 49
   72   73   74   75   76   77   78   79   80   81   82