[asterisk-commits] trunk r32901 - in /trunk: ./ build_tools/ sounds/
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed Jun 7 14:05:06 MST 2006
Author: kpfleming
Date: Wed Jun 7 16:05:05 2006
New Revision: 32901
URL: http://svn.digium.com/view/asterisk?rev=32901&view=rev
Log:
don't force the sounds to download... only when needed
fix a few buglets i caused in menuselect
remove downloaded sounds on 'dist-clean'
Modified:
trunk/Makefile
trunk/build_tools/menuselect.c
trunk/build_tools/menuselect_curses.c
trunk/sounds/Makefile
Modified: trunk/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/Makefile?rev=32901&r1=32900&r2=32901&view=diff
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Wed Jun 7 16:05:05 2006
@@ -380,7 +380,7 @@
@echo " + make install +"
@echo " +-------------------------------------------+"
-all: cleantest config.status menuselect.makeopts depend asterisk subdirs sounds
+all: cleantest config.status menuselect.makeopts depend asterisk subdirs
config.status: configure
@CFLAGS="" ./configure
@@ -519,12 +519,13 @@
distclean: dist-clean
dist-clean: clean
+ $(MAKE) -C mxml clean
+ $(MAKE) -C build_tools dist-clean
+ $(MAKE) -C sounds dist-clean
rm -f menuselect.makeopts makeopts makeopts.xml
rm -f config.log config.status
rm -f include/autoconfig.h
rm -f include/asterisk/buildopts.h
- $(MAKE) -C mxml clean
- $(MAKE) -C build_tools dist-clean
datafiles: all
if [ x`$(ID) -un` = xroot ]; then sh build_tools/mkpkgconfig $(DESTDIR)/usr/lib/pkgconfig; fi
@@ -540,6 +541,7 @@
$(INSTALL) -m 644 $$x $(DESTDIR)$(ASTDATADIR)/images ; \
done
mkdir -p $(DESTDIR)$(AGI_DIR)
+ $(MAKE) -C sounds install
update:
@if [ -d .svn ]; then \
@@ -871,6 +873,7 @@
rm -rf $(DESTDIR)$(ASTDATADIR)/firmware
rm -rf $(DESTDIR)$(ASTMANDIR)/man8
for x in $(SUBDIRS); do $(MAKE) -C $$x uninstall || exit 1 ; done
+ $(MAKE) -C sounds uninstall
uninstall: _uninstall
@echo " +--------- Asterisk Uninstall Complete -----+"
Modified: trunk/build_tools/menuselect.c
URL: http://svn.digium.com/view/asterisk/trunk/build_tools/menuselect.c?rev=32901&r1=32900&r2=32901&view=diff
==============================================================================
--- trunk/build_tools/menuselect.c (original)
+++ trunk/build_tools/menuselect.c Wed Jun 7 16:05:05 2006
@@ -24,7 +24,7 @@
* \brief A menu-driven system for Asterisk module selection
*/
-#include "autoconfig.h"
+#include "asterisk.h"
#include <stdlib.h>
#include <stdio.h>
@@ -33,8 +33,6 @@
#include "mxml/mxml.h"
#include "menuselect.h"
-
-#include "asterisk.h"
#include "asterisk/linkedlists.h"
Modified: trunk/build_tools/menuselect_curses.c
URL: http://svn.digium.com/view/asterisk/trunk/build_tools/menuselect_curses.c?rev=32901&r1=32900&r2=32901&view=diff
==============================================================================
--- trunk/build_tools/menuselect_curses.c (original)
+++ trunk/build_tools/menuselect_curses.c Wed Jun 7 16:05:05 2006
@@ -24,7 +24,7 @@
* \brief curses frontend for Asterisk module selection
*/
-#include "autoconfig.h"
+#include "asterisk/autoconfig.h"
#include <stdlib.h>
#include <stdio.h>
Modified: trunk/sounds/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/sounds/Makefile?rev=32901&r1=32900&r2=32901&view=diff
==============================================================================
--- trunk/sounds/Makefile (original)
+++ trunk/sounds/Makefile Wed Jun 7 16:05:05 2006
@@ -37,12 +37,13 @@
MENUSELECT_MOH:=$(subst -MP3,-mp3,$(MENUSELECT_MOH))
MOH:=$(MENUSELECT_MOH:MOH-%=asterisk-moh-%.tar.gz)
-%.gz:
+%.tar.gz:
@wget --no-verbose --continue $(SOUNDS_URL)/$@
all: $(CORE_SOUNDS) $(EXTRA_SOUNDS) $(MOH)
-clean:
+dist-clean:
+ rm -f *.tar.gz
install: all
mkdir -p $(DESTDIR)$(ASTDATADIR)/sounds
More information about the asterisk-commits
mailing list