(THRIFT-40) Remove stray \n's from the generated version.h

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@672945 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
David Reiss 2008-06-30 22:27:29 +00:00
parent 4d8edc5269
commit aabfa63c47

View File

@ -99,8 +99,8 @@ regen_version_h:
@printf "Regenerating version.h... "
@TMPFILE=`mktemp ./version_h.tmp_XXXXXX` ; \
echo "// AUTOGENERATED, DO NOT EDIT" > $$TMPFILE ; \
echo '#define THRIFT_VERSION "$(THRIFT_VERSION)"\n' >> $$TMPFILE ; \
echo '#define THRIFT_REVISION "$(THRIFT_REVISION)"\n' >> $$TMPFILE ; \
echo '#define THRIFT_VERSION "$(THRIFT_VERSION)"' >> $$TMPFILE ; \
echo '#define THRIFT_REVISION "$(THRIFT_REVISION)"' >> $$TMPFILE ; \
if cmp $$TMPFILE version.h >/dev/null ; \
then \
rm -f $$TMPFILE ; \