summaryrefslogtreecommitdiffstats
path: root/osx
diff options
context:
space:
mode:
authorRaul Cuza <raulcuza@gmail.com>2011-07-06 16:17:49 -0400
committerRaul Cuza <raulcuza@gmail.com>2011-07-06 16:17:49 -0400
commit1021d458baa61a581e29d99eadb4bf17cd057cb9 (patch)
tree0083dedd222bb2cafb6c42988de1734f15bf3ece /osx
parentac985571ecf932f59b080a4e9dc580e6db694107 (diff)
downloadbcfg2-1021d458baa61a581e29d99eadb4bf17cd057cb9.tar.gz
bcfg2-1021d458baa61a581e29d99eadb4bf17cd057cb9.tar.bz2
bcfg2-1021d458baa61a581e29d99eadb4bf17cd057cb9.zip
Prepare osx/Makefile to be changed by export2.py
Diffstat (limited to 'osx')
-rw-r--r--osx/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/osx/Makefile b/osx/Makefile
index 8d16b42ae..e2223e0aa 100644
--- a/osx/Makefile
+++ b/osx/Makefile
@@ -29,13 +29,9 @@ SITELIBDIR = /Library/Python/${PYVERSION}/site-packages
# an Info.plist file for packagemaker to look at for package creation
# and substitute the version strings. Major/Minor versions can only be
# integers (e.g. "1" and "00" for bcfg2 version 1.0.0.
-BCFGVER = $(shell /usr/bin/grep version ../setup.py | cut -d\" -f2)
-BCFGVER1 = $(shell /bin/echo ${BCFGVER} | /usr/bin/cut -d"." -f1)
-BCFGVER2 = $(shell /bin/echo ${BCFGVER} | /usr/bin/cut -d"." -f2)
-BCFGVER3 = $(shell /bin/echo ${BCFGVER} | /usr/bin/cut -d"." -f3)
-BCFGVER3I = $(shell /usr/bin/python -c "import sys; print sys.argv[1][0:1]" ${BCFGVER3})
-MAJOR = ${BCFGVER1}
-MINOR = ${BCFGVER2}${BCFGVER3I}
+BCFGVER = v1.2.0pre3
+MAJOR = 1
+MINOR = 2.0
default: clean client