summaryrefslogtreecommitdiffstats
path: root/commands/storage/Makefile
diff options
context:
space:
mode:
authorMichal Minar <miminar@redhat.com>2013-10-11 10:58:20 +0200
committerMichal Minar <miminar@redhat.com>2013-10-11 13:27:37 +0200
commit8971dfd2c0d86d0ed979357d08368b14184b6bab (patch)
tree0c0c1ab67d5bfa8766bdd40348193626cbda9db1 /commands/storage/Makefile
parentc3e0cc18e6aae48ffdcfd697217ccc078dc2415b (diff)
downloadopenlmi-scripts-8971dfd2c0d86d0ed979357d08368b14184b6bab.tar.gz
openlmi-scripts-8971dfd2c0d86d0ed979357d08368b14184b6bab.tar.xz
openlmi-scripts-8971dfd2c0d86d0ed979357d08368b14184b6bab.zip
enhanced storage Makefile
Diffstat (limited to 'commands/storage/Makefile')
-rw-r--r--commands/storage/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/commands/storage/Makefile b/commands/storage/Makefile
index d732632..8c02686 100644
--- a/commands/storage/Makefile
+++ b/commands/storage/Makefile
@@ -1,10 +1,16 @@
-.PHONY: sdist upload_docs clean
+PYTHONPATH?=$(HOME)/workspace/python_sandbox
+DEVELOPDIR?=$(shell echo $(PYTHONPATH) | cut -d : -f 1)
+
+.PHONY: sdist develop upload_docs clean all
all: sdist
sdist:
python setup.py sdist
+develop:
+ python setup.py develop --install-dir=$(DEVELOPDIR)
+
upload_docs:
make -C doc html
python setup.py upload_docs