projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3d1f44
)
Makefile: get the correct version string by grep'ing the _version.py.
182-osx-packaging-5
121/head
author
Ramakrishnan Muthukrishnan
<ram@leastauthority.com>
Sat, 18 Oct 2014 05:53:13 +0000
(11:23 +0530)
committer
Ramakrishnan Muthukrishnan
<ram@leastauthority.com>
Sat, 18 Oct 2014 05:53:13 +0000
(11:23 +0530)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index aa7cce04e6b7662ad8b6f80a12a011644b1b477e..6b0a7e7492820000d42ac0cdf72bf6b5e168f73b 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-42,7
+42,7
@@
build-osx-pkg:
# create component pkg
pkgbuild --root $(shell pwd) \
--identifier com.leastauthority.tahoe \
- --version
"$(shell bin/tahoe @python -c 'import allmydata; print allmydata.__version__')"
\
+ --version
$(shell sh -c "cat src/allmydata/_version.py | grep verstr | head -n 1 | cut -d' ' -f 3")
\
--ownership recommended \
--install-location /Applications/tahoe.app \
--scripts $(shell pwd)/misc/build_helpers/osx/scripts \