From: Stephan Witt Date: Fri, 10 Oct 2014 10:27:31 +0000 (+0200) Subject: LYX_GIT_COMMIT_HASH is in config.h now X-Git-Tag: 2.2.0alpha1~1668 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=35722e58ec54d13e6c4371a3eb4166e89c510c5d;hp=8ecb96c09a2c605ba0c18d0c3ad1030d5a8b77cd;p=features.git LYX_GIT_COMMIT_HASH is in config.h now --- diff --git a/development/LyX-Mac-binary-release.sh b/development/LyX-Mac-binary-release.sh index 45adfd8f28..4fb754740b 100644 --- a/development/LyX-Mac-binary-release.sh +++ b/development/LyX-Mac-binary-release.sh @@ -303,11 +303,6 @@ if [ -z "${LyXVersion}" ]; then LyXVersion=$(grep AC_INIT "${LyxSourceDir}"/configure.ac | cut -d, -f2 | tr -d " ()") fi LyXVersionSuffix=${LyXVersionSuffix:-$(echo "${LyXVersion}" | cut -d. -f1-2)} -case "${LyXVersion}" in -*dev*) - LyXGitCommitHash=$(cd "${LyxSourceDir}" ; git log -1 --pretty=format:%H) - ;; -esac LyxName="LyX" LyxBase="${LyxName}-${LyXVersion}" @@ -632,10 +627,6 @@ build_lyx() { CPPFLAGS="${SDKROOT:+-isysroot ${SDKROOT}} -arch ${arch} ${MYCFLAGS}" LDFLAGS="${SDKROOT:+-isysroot ${SDKROOT}} -arch ${arch} ${MYCFLAGS}" - if [ -n "${LyXGitCommitHash}" ]; then - CPPFLAGS="${CPPFLAGS} -DLYX_GIT_COMMIT_HASH='${LyXGitCommitHash}'" - fi - if [ "$configure_qt_frameworks" = "yes" ]; then export QT_CORE_CFLAGS="-FQtCore" export QT_CORE_LIBS="-framework QtCore"