Changeset 3146 for libpipi


Ignore:
Timestamp:
Oct 30, 2008, 2:02:43 AM (12 years ago)
Author:
Sam Hocevar
Message:

Append SVN release ID to ThePimp? binaries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/build-win32

    r3096 r3146  
    1010PROJECT="ThePimp"
    1111SRCDIR="`pwd`"
    12 DIRNAME="${PROJECT}-`sed -ne 's/^AC_INIT(.*, \(.*\)).*/\1/p' configure.ac`"
     12VERSION="`sed -ne 's/^AC_INIT(.*, \(.*\)).*/\1/p' configure.ac`"
     13if [ -f .git/svn/trunk/unhandled.log ]; then
     14  VERSION="${VERSION}-`grep '^r' .git/svn/trunk/unhandled.log | tail -n 1`"
     15elif [ -f .svn/entries ]; then
     16  VERSION="${VERSION}-r`head -n 4 .svn/entries | tail -n 1`"
     17fi
     18DIRNAME="${PROJECT}-${VERSION}"
    1319INSTALLDIR="`pwd`/${DIRNAME}"
    1420BUILDDIR="${INSTALLDIR}/build"
Note: See TracChangeset for help on using the changeset viewer.