freeswitch/build/Makefile.am
Niek Vlessert 757fa94239 FS-8369 Debian8/CentOS7 systemd installer additions
After builing Freeswitch this makes actually run it easy by offering
an installer script.

* Changes to configure.ac to detect Debian8/CentOS 7 and create installer script
* Changes to build/Makefile.am to display the option
* Added build/startup directory with templates and other files
* Deleted outdated build/freeswitch.service and tmpfiles.conf
* Unit file based on the latest systemd service file FS-8194
* Won't interfere with other platforms (afaik)
* Supports all bindir directory prefixes ./configure can have
* Detects if Debian8/CentOS7 use systemd
* Can be used with a user with sudo permissions
2015-10-30 19:11:32 +01:00

87 lines
4.7 KiB
Makefile

MK=`echo $(MAKE) | $(AWK) '{printf "%5s\n", $$0}' `
all:
@echo " +---------- FreeSWITCH Build Complete ----------+"
@echo " + FreeSWITCH has been successfully built. +"
@echo " + Install by running: +"
@echo " + +"
@echo " + $(MK) install +"
@echo " + +"
@echo " + While you're waiting, register for ClueCon! +"
@echo " + https://www.cluecon.com +"
@echo " + +"
@echo " +-----------------------------------------------+"
@cat $(switch_srcdir)/cluecon2.tmpl
install:
@echo " +---------- FreeSWITCH install Complete ----------+"
@echo " + FreeSWITCH has been successfully installed. +"
@echo " + +"
@echo " + Install sounds: +"
@echo " + (uhd-sounds includes hd-sounds, sounds) +"
@echo " + (hd-sounds includes sounds) +"
@echo " + ------------------------------------ +"
@echo " + $(MK) cd-sounds-install +"
@echo " + $(MK) cd-moh-install +"
@echo " + +"
@echo " + $(MK) uhd-sounds-install +"
@echo " + $(MK) uhd-moh-install +"
@echo " + +"
@echo " + $(MK) hd-sounds-install +"
@echo " + $(MK) hd-moh-install +"
@echo " + +"
@echo " + $(MK) sounds-install +"
@echo " + $(MK) moh-install +"
@echo " + +"
@echo " + Install non english sounds: +"
@echo " + replace XX with language +"
@echo " + (ru : Russian) +"
@echo " + (fr : French) +"
@echo " + ------------------------------------ +"
@echo " + $(MK) cd-sounds-XX-install +"
@echo " + $(MK) uhd-sounds-XX-install +"
@echo " + $(MK) hd-sounds-XX-install +"
@echo " + $(MK) sounds-XX-install +"
@echo " + +"
@echo " + Upgrade to latest: +"
@echo " + ---------------------------------- +"
@echo " + $(MK) current +"
@echo " + +"
@echo " + Rebuild all: +"
@echo " + ---------------------------------- +"
@echo " + $(MK) sure +"
@echo " + +"
@echo " + Install/Re-install default config: +"
@echo " + ---------------------------------- +"
@echo " + $(MK) samples +"
if KNOWN_INIT
@echo " + +"
@echo " + Install startup scripts: +"
@echo " + ------------------------ +"
@echo " + +"
@echo " + build/startup/install_systemd.sh +"
endif
@echo " + +"
@echo " + +"
@echo " + Additional resources: +"
@echo " + ---------------------------------- +"
@echo " + https://www.freeswitch.org +"
@echo " + https://freeswitch.org/confluence +"
@echo " + https://freeswitch.org/jira +"
@echo " + http://lists.freeswitch.org +"
@echo " + +"
@echo " + irc.freenode.net / #freeswitch +"
@echo " + +"
@echo " + Register For ClueCon: +"
@echo " + ---------------------------------- +"
@echo " + https://www.cluecon.com +"
@echo " + +"
@echo " +-------------------------------------------------+"
@cat $(switch_srcdir)/cluecon2.tmpl
@sh $(switch_srcdir)/build/modcheck.sh $(modulesdir)
.PHONY: check dvi html info install-data \
install-dvi install-exec install-html install-info install-pdf install-ps installcheck installdirs pdf \
ps uninstall mostlyclean clean distclean maintainer-clean