[asterisk-commits] qwell: testsuite/asterisk/trunk r1622 - /asterisk/trunk/addons/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jun 3 15:08:37 CDT 2011


Author: qwell
Date: Fri Jun  3 15:08:33 2011
New Revision: 1622

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=1622
Log:
Update 'all' target to tell you how to get/install starpy.

Modified:
    asterisk/trunk/addons/Makefile

Modified: asterisk/trunk/addons/Makefile
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/addons/Makefile?view=diff&rev=1622&r1=1621&r2=1622
==============================================================================
--- asterisk/trunk/addons/Makefile (original)
+++ asterisk/trunk/addons/Makefile Fri Jun  3 15:08:33 2011
@@ -7,6 +7,11 @@
 #
 
 all:
+	@if [ ! -d starpy ]; then \
+		echo "starpy/ does not exist.  Run \`make update\` to checkout via git."; \
+	else \
+		echo "Run \`make install\`."; \
+	fi
 
 clean: _clean
 
@@ -18,7 +23,7 @@
 	rm -rf starpy/install.record
 
 install:
-	cd starpy; python setup.py install --prefix=~/.local --record install.record
+	(cd starpy; python setup.py install --prefix=~/.local --record install.record)
 
 uninstall:
 	rm -rf $$(cat starpy/install.record)




More information about the asterisk-commits mailing list