[Asterisk-cvs] asterisk Makefile,1.191,1.192

kpfleming kpfleming
Mon Aug 22 22:28:26 CDT 2005


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv11506

Modified Files:
	Makefile 
Log Message:
don't require 'make samples' to require code to be built (issue #4997)


Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/Makefile,v
retrieving revision 1.191
retrieving revision 1.192
diff -u -d -r1.191 -r1.192
--- Makefile	14 Aug 2005 02:19:15 -0000	1.191
+++ Makefile	23 Aug 2005 02:30:30 -0000	1.192
@@ -675,7 +675,7 @@
 
 upgrade: all bininstall
 
-adsi: all
+adsi:
 	mkdir -p $(DESTDIR)$(ASTETCDIR)
 	for x in configs/*.adsi; do \
 		if [ ! -f $(DESTDIR)$(ASTETCDIRX)/$$x ]; then \
@@ -683,7 +683,7 @@
 		fi ; \
 	done
 
-samples: all datafiles adsi
+samples: adsi
 	mkdir -p $(DESTDIR)$(ASTETCDIR)
 	for x in configs/*.sample; do \
 		if [ -f $(DESTDIR)$(ASTETCDIR)/`basename $$x .sample` ]; then \
@@ -719,6 +719,7 @@
 	else \
 		echo "Skipping asterisk.conf creation"; \
 	fi
+	mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/sounds ; \
 	for x in sounds/demo-*; do \
 		if $(GREP) -q "^%`basename $$x`%" sounds.txt; then \
 			install -m 644 $$x $(DESTDIR)$(ASTVARLIBDIR)/sounds ; \
@@ -727,6 +728,7 @@
 			exit 1; \
 		fi; \
 	done
+	mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/mohmp3 ; \
 	for x in sounds/*.mp3; do \
 		install -m 644 $$x $(DESTDIR)$(ASTVARLIBDIR)/mohmp3 ; \
 	done




More information about the svn-commits mailing list