##// END OF EJS Templates
osx: wire up genosxversion script...
Augie Fackler -
r33596:c5607b65 stable
parent child Browse files
Show More
@@ -14,6 +14,7 b' DOCFILES=mercurial/help/*.txt'
14 14 export LANGUAGE=C
15 15 export LC_ALL=C
16 16 TESTFLAGS ?= $(shell echo $$HGTESTFLAGS)
17 OSXVERSIONFLAGS ?= $(shell echo $$OSXVERSIONFLAGS)
17 18
18 19 # Set this to e.g. "mingw32" to use a non-default compiler.
19 20 COMPILER=
@@ -185,7 +186,7 b' osx:'
185 186 PREFIX=/usr/local \
186 187 clean install
187 188 mkdir -p $${OUTPUTDIR:-dist}
188 HGVER=$$((cat build/mercurial/Library/Python/2.7/site-packages/mercurial/__version__.py; echo 'print(version)') | python) && \
189 HGVER=$(shell python contrib/genosxversion.py $(OSXVERSIONFLAGS) build/mercurial/Library/Python/2.7/site-packages/mercurial/__version__.py ) && \
189 190 OSXVER=$$(sw_vers -productVersion | cut -d. -f1,2) && \
190 191 pkgbuild --filter \\.DS_Store --root build/mercurial/ \
191 192 --identifier org.mercurial-scm.mercurial \
General Comments 0
You need to be logged in to leave comments. Login now