Skip to content
This repository has been archived by the owner on Apr 14, 2024. It is now read-only.

Commit

Permalink
Due to the switch to mercurial from svn, changed 'svnversion' to 'hg …
Browse files Browse the repository at this point in the history
…identify -i'
  • Loading branch information
pstavirs committed Apr 7, 2010
1 parent c630d4c commit 2af8321
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions version.pri
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ APP_VERSION = 0.1
APP_VERSION_FILE = version.cpp
revtarget.target = $$APP_VERSION_FILE
win32:revtarget.commands = echo "const char *version = \"$$APP_VERSION\";" \
"const char *revision = \"$(shell svnversion .)\";" \
"const char *revision = \"$(shell hg identify -i)\";" \
> $$APP_VERSION_FILE
unix:revtarget.commands = echo \
"\"const char *version = \\\"$$APP_VERSION\\\";" \
"const char *revision = \\\"$(shell svnversion .)\\\";\"" \
"const char *revision = \\\"$(shell hg identify -i)\\\";\"" \
> $$APP_VERSION_FILE
revtarget.depends = $$SOURCES $$HEADERS $$FORMS $$POST_TARGETDEPS

Expand Down

0 comments on commit 2af8321

Please sign in to comment.