Changeset 5611
Collect all system integration bits together and make them work
Rewrite safe_callweaver wrapper. Make it work. Make it robust. Make it do the
Right Thing. Probably.
Move all contrib init scripts to the system dir and fix them up with the
right paths at build time. Install the right one for systems we
recognise.
Comitted by:
mjagdis
Date:
Feb 05 2010 * 00:41 (over 2 years ago)
Affected files:
callweaver/trunk/system/rc.callweaver.gentoo.in (from callweaver/trunk/contrib/init.d/rc.gentoo.callweaver:5610)
callweaver/trunk/system/rc.callweaver.suse.in (from callweaver/trunk/contrib/init.d/rc.suse.callweaver:5610)
callweaver/trunk/system/
callweaver/trunk/system/rc.callweaver.debian.in
callweaver/trunk/system/rc.callweaver.mandrake.in
callweaver/trunk/system/rc.callweaver.redhat.in
callweaver/trunk/system/rc.callweaver.slackware.in
callweaver/trunk/system/safe_callweaver.8.in
callweaver/trunk/system/safe_callweaver.in
callweaver/trunk/contrib/init.d/rc.debian.callweaver
callweaver/trunk/contrib/init.d/rc.mandrake.callweaver
callweaver/trunk/contrib/init.d/rc.redhat.callweaver
callweaver/trunk/contrib/init.d/rc.slackware.callweaver
callweaver/trunk/safe_callweaver.8
callweaver/trunk/safe_callweaver.in
callweaver/trunk/Makefile.am (diff)
callweaver/trunk/configure.ac (diff)
callweaver/trunk/Makefile.am (unified diff)
| r5564 | r5611 | |
|---|---|---|
| 37 | 37 | EXTRA_DIST = substitute.mak |
| 38 | 38 | |
| 39 | 39 | utilitydir = ${cwutilsdir} |
| 40 | utility_SCRIPTS = callweaver_cli safe_callweaver | |
| 40 | utility_SCRIPTS = callweaver_cli | |
| 41 | 41 | CLEANFILES = $(utility_SCRIPTS) |
| 42 | 42 | |
| 43 | 43 | @substitute@ |
| --- | --- | |
| 46 | 46 | $(substitute) $(top_srcdir)/callweaver_cli.in > callweaver_cli |
| 47 | 47 | chmod +x callweaver_cli |
| 48 | 48 | |
| 49 | safe_callweaver: | |
| 50 | $(substitute) $(top_srcdir)/safe_callweaver.in > safe_callweaver | |
| 51 | chmod +x safe_callweaver | |
| 52 | ||
| 53 | 49 | ############# |
| 54 | 50 | # MAN PAGES # |
| 55 | 51 | ############# |
| --- | --- | |
| 59 | 55 | if test ! -d $(DESTDIR)${cwmandir}/man8; then \ |
| 60 | 56 | mkdir -p $(DESTDIR)${cwmandir}/man8 ; \ |
| 61 | 57 | fi ; \ |
| 62 | cp $(top_srcdir)/callweaver.8 $(DESTDIR)${cwmandir}/man8/. ; \ | |
| 63 | cp $(top_srcdir)/safe_callweaver.8 $(DESTDIR)${cwmandir}/man8/. ; | |
| 58 | cp $(top_srcdir)/callweaver.8 $(DESTDIR)${cwmandir}/man8/. ; | |
| 64 | 59 | endif |
| 65 | 60 | |
| 66 | 61 | uninstall-man-pages: |
| --- | --- | |
| 145 | 140 | SUBDIRS = utils libltdl libs |
| 146 | 141 | SUBDIRS += stdtime include corelib . pbx funcs |
| 147 | 142 | SUBDIRS += cdr apps codecs formats channels ogi res configs |
| 143 | SUBDIRS += system | |
| 148 | 144 | |
| 149 | 145 | ############################ |
| 150 | 146 | # INSTALLATION DIRECTORIES # |
callweaver/trunk/configure.ac (unified diff)
| r5595 | r5611 | |
|---|---|---|
| 49 | 49 | AC_PATH_PROGS(CAT,cat,[echo cat not found, Doh!]) |
| 50 | 50 | AC_PATH_PROGS(TR,tr,[echo tr not found, need this for upper/lowercase conversions]) |
| 51 | 51 | AC_PATH_PROGS(UNAME,uname,[echo uname not found so no version info will be available]) |
| 52 | AC_PROG_LN_S | |
| 52 | 53 | AC_PROG_CXX |
| 53 | 54 | AC_PROG_YACC |
| 54 | 55 | AC_PROG_CC |
| --- | --- | |
| 2646 | 2647 | ogi/ogi-test.ogi |
| 2647 | 2648 | ogi/fastogi-test |
| 2648 | 2649 | formats/Makefile |
| 2650 | system/Makefile | |
| 2649 | 2651 | ]) |
| 2650 | 2652 | |
| 2651 | 2653 | dnl # channels/sofia/Makefile |
![Home changeset 5611 [home]](/images/logo.png?1180520111)

RSS Feeds