[asterisk-commits] dlee: branch dlee/stasis-http r383160 - /team/dlee/stasis-http/Makefile
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Mar 14 23:40:25 CDT 2013
Author: dlee
Date: Thu Mar 14 23:40:22 2013
New Revision: 383160
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=383160
Log:
Detect Python (or lack thereof) when generating stasis-stubs
Modified:
team/dlee/stasis-http/Makefile
Modified: team/dlee/stasis-http/Makefile
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/Makefile?view=diff&rev=383160&r1=383159&r2=383160
==============================================================================
--- team/dlee/stasis-http/Makefile (original)
+++ team/dlee/stasis-http/Makefile Thu Mar 14 23:40:22 2013
@@ -950,7 +950,14 @@
# We don't want to require Python or Cog for every build, so this is its own target.
stasis-stubs:
+ifeq ($(PYTHON),:)
+ @echo "--------------------------------------------------------------------------"
+ @echo "--- Please install python to build Stasis HTTP stubs ---"
+ @echo "--------------------------------------------------------------------------"
+ @false
+else
build_tools/make_stasis_http_stubs
+endif
.PHONY: menuselect
.PHONY: main
More information about the asterisk-commits
mailing list