Fix version.txt creation command

This commit is contained in:
Abs62 2012-12-05 16:44:06 +04:00
parent 40819d6814
commit 208394a2d3

View file

@ -345,7 +345,7 @@ TRANSLATIONS += locale/ru_RU.ts \
QMAKE_EXTRA_TARGETS += revtarget QMAKE_EXTRA_TARGETS += revtarget
PRE_TARGETDEPS += $$PWD/version.txt PRE_TARGETDEPS += $$PWD/version.txt
revtarget.target = $$PWD/version.txt revtarget.target = $$PWD/version.txt
revtarget.commands = cd $$PWD; git describe --tags --always --dirty > $$revtarget.target revtarget.commands = cd $$PWD && git describe --tags --always --dirty > $$revtarget.target
ALL_SOURCES = $$SOURCES $$HEADERS $$FORMS ALL_SOURCES = $$SOURCES $$HEADERS $$FORMS
for(src, ALL_SOURCES) { for(src, ALL_SOURCES) {
QUALIFIED_SOURCES += $${PWD}/$${src} QUALIFIED_SOURCES += $${PWD}/$${src}