summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSteven Silvester2014-10-19 15:36:21 -0500
committerSteven Silvester2014-10-19 15:36:21 -0500
commita28c237537f30690d66949fa62ec9786aaa8248a (patch)
tree0c7242d38eaea96c80bbc42021771b35069a7022 /Makefile
parentb47fc0da3a5bb7096fd4cf62ae75f6b3f766b9b8 (diff)
downloadscilab_kernel-a28c237537f30690d66949fa62ec9786aaa8248a.tar.gz
scilab_kernel-a28c237537f30690d66949fa62ec9786aaa8248a.tar.bz2
scilab_kernel-a28c237537f30690d66949fa62ec9786aaa8248a.zip
Clean up makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6c0f3f2..d149650 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,8 @@
.PHONY: all clean test release
export KILL_SCILAB="from scilab2py import kill_scilab; kill_scilab()"
+export NAME=scilab_kernel
+export VERSION=`python -c "import $(NAME); print($(NAME).__version__)"`
all: clean
python setup.py install
@@ -17,7 +19,7 @@ release: clean
python setup.py register
python setup.py bdist_wheel upload
python setup.py sdist --formats=gztar,zip upload
- git tag v`python -c "import scilab_kernel;print(scilab_kernel.__version__)"`
+ git tag v$(VERSION)
git push origin --all
test: clean