1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00

(trunk libT) version.h build issue that manifested itself as "tr-dht.c:156: error: expected expression before ‘>>’ token". Thanks to geirha for tracking down the problem and contributing a fix

This commit is contained in:
Charles Kerr 2009-05-24 13:48:55 +00:00
parent 2634f809e9
commit 342ea302bc

View file

@ -184,7 +184,7 @@ BUILT_SOURCES = \
version.h:
echo '#define PEERID_PREFIX "'@PEERID_PREFIX@'"' > version.h
echo '#define USERAGENT_PREFIX "'@USERAGENT_PREFIX@'"' >> version.h
echo '#define SVN_REVISION "'`svn info | grep "Revision" | awk -F': ' '{print $$2}'`'"' >> version.h
echo '#define SVN_REVISION_NUM '`svn info | grep "Revision" | awk -F': ' '{print $$2}'`'' >> version.h
echo '#define SVN_REVISION "'`svnversion | sed -r 's/([0-9]+).*/\1/'`'"' >> version.h
echo '#define SVN_REVISION_NUM '`svnversion | sed -r 's/([0-9]+).*/\1/'`'' >> version.h
echo '#define SHORT_VERSION_STRING "'@USERAGENT_PREFIX@'"' >> version.h
echo '#define LONG_VERSION_STRING "'@USERAGENT_PREFIX@' ('`svn info | grep "Revision" | awk -F': ' '{print $$2}'`')"' >> version.h
echo '#define LONG_VERSION_STRING "'@USERAGENT_PREFIX@' ('`svnversion | sed -r 's/([0-9]+).*/\1/'`')"' >> version.h