incubator-tashi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rg...@apache.org
Subject svn commit: r979317 - /incubator/tashi/trunk/Makefile
Date Mon, 26 Jul 2010 14:41:47 GMT
Author: rgass
Date: Mon Jul 26 14:41:47 2010
New Revision: 979317

URL: http://svn.apache.org/viewvc?rev=979317&view=rev
Log:
adding zoni-cli.py symlinks

Modified:
    incubator/tashi/trunk/Makefile

Modified: incubator/tashi/trunk/Makefile
URL: http://svn.apache.org/viewvc/incubator/tashi/trunk/Makefile?rev=979317&r1=979316&r2=979317&view=diff
==============================================================================
--- incubator/tashi/trunk/Makefile (original)
+++ incubator/tashi/trunk/Makefile Mon Jul 26 14:41:47 2010
@@ -65,10 +65,10 @@ src/utils/nmd: src/utils/nmd.py
 rmnmd:
 	echo Removing nmd...; rm -f bin/nmd.py
 
-bin: bindir bin/clustermanager.py bin/nodemanager.py bin/tashi-client.py bin/primitive.py
+bin: bindir bin/clustermanager.py bin/nodemanager.py bin/tashi-client.py bin/primitive.py
bin/zoni-cli.py
 bindir:
 	if test ! -d bin; then mkdir bin; fi
-rmbin: rmclustermanager rmnodemanager rmtashi-client rmprimitive
+rmbin: rmclustermanager rmnodemanager rmtashi-client rmprimitive rmzoni-cli
 	if test -d bin; then rmdir bin; fi
 bin/getInstances: 
 	if test ! -e bin/getInstances; then (echo "Generating client symlinks..."; cd bin; PYTHONPATH=../src
../src/tashi/client/client.py --makesyms); fi
@@ -106,6 +106,13 @@ doc/html:
 rmdoc:
 	if test -d doc/html; then echo Removing HTML docs...; rm -rf ./doc/html; fi
 
+#  Zoni 
+bin/zoni-cli.py:
+	@echo Symlinking in zoni-cli...
+	(cd bin; ln -s ../src/zoni/client/zoni-cli.py .)
+rmzoni-cli:
+	if test -e bin/zoni-cli.py; then echo Removing zoni-cli symlink...; rm bin/zoni-cli.py;
fi
+
 ## for now only print warnings having to do with bad indentation. pylint doesn't make it
easy to enable only 1,2 checks
 disabled_warnings=$(shell pylint --list-msgs|grep :W0| awk -F: '{ORS=","; if ($$2 != "W0311"
&& $$2 != "W0312"){ print $$2}}')
 pysrc=$(shell find . \! -path '*gen-py*' \! -path '*services*' \! -path '*messagingthrift*'
\! -name '__init__.py' -name "*.py")



Mime
View raw message