Commit 9f654cb5 authored by shibakaneki's avatar shibakaneki

Fixed some bugs

parent 804d643f
......@@ -12,9 +12,6 @@ VERSION_PATCH = 00
VERSION = "$${VERSION_MAJ}.$${VERSION_MIN}.$${VERSION_TYPE}.$${VERSION_PATCH}"
VERSION = $$replace(VERSION, "\\.r", "")
SVN_VERSION = $$system(svnversion)
SVN_VERSION = $$replace(SVN_VERSION, "\\n", "")
LONG_VERSION = "$${VERSION}.$${SVN_VERSION}"
macx:OSX_VERSION = "$${VERSION} (r$${SVN_VERSION})"
......
......@@ -69,14 +69,14 @@ QMAKE_CMD="$QMAKE -spec macx-g++42"
$QMAKE_CMD
VERSION=`cat "$BUILD_DIR/version"`
if [ "$VERSION" = "" ]; then
if [ ! -f "$BUILD_DIR/version" ]; then
echo "version not found"
exit 1
else
LAST_COMMITED_VERSION="`git describe $(git rev-list --tags --max-count=1)`"
if [ "v$VERSION" != "$LAST_COMMITED_VERSION" ]; then
echo creating a tag with the version $VERSION
git tag -a "v$VERSION"
git tag -a "v$VERSION" -m "Generated setup for v$VERSION"
git push origin --tags
else
if [ "$1" != "escape" ] ; then
......
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
......@@ -26,7 +26,7 @@ LDFLAGS =
T1LIBS =
FTLIBS =
XLIBS = -lXt -lXp -lXext -lXpm -lSM -lICE -lX11
XLIBS = -lX11
SPLASHLIBS = -L$(SPLASHLIBDIR) -lsplash
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment