##// 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 export LANGUAGE=C
14 export LANGUAGE=C
15 export LC_ALL=C
15 export LC_ALL=C
16 TESTFLAGS ?= $(shell echo $$HGTESTFLAGS)
16 TESTFLAGS ?= $(shell echo $$HGTESTFLAGS)
17 OSXVERSIONFLAGS ?= $(shell echo $$OSXVERSIONFLAGS)
17
18
18 # Set this to e.g. "mingw32" to use a non-default compiler.
19 # Set this to e.g. "mingw32" to use a non-default compiler.
19 COMPILER=
20 COMPILER=
@@ -185,7 +186,7 b' osx:'
185 PREFIX=/usr/local \
186 PREFIX=/usr/local \
186 clean install
187 clean install
187 mkdir -p $${OUTPUTDIR:-dist}
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 OSXVER=$$(sw_vers -productVersion | cut -d. -f1,2) && \
190 OSXVER=$$(sw_vers -productVersion | cut -d. -f1,2) && \
190 pkgbuild --filter \\.DS_Store --root build/mercurial/ \
191 pkgbuild --filter \\.DS_Store --root build/mercurial/ \
191 --identifier org.mercurial-scm.mercurial \
192 --identifier org.mercurial-scm.mercurial \
General Comments 0
You need to be logged in to leave comments. Login now