Bug #680086 - Each Tip of the Day has an n shown at the end

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22721 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Geert Janssens
2013-01-22 10:14:51 +00:00
parent bc0940a49e
commit bf34e32303

View File

@@ -51,9 +51,13 @@ gnucash.1: gnucash.1.in Makefile
tip_of_the_day.list: tip_of_the_day.list.in Makefile
${CC} -E -P -x c -D'N_(x)=x' -o $@.tmp $<
cat -s $@.tmp | ${SED} -e 's/^ *"//' \
-e 's/" *$$/\n/' \
-e 's/"* *[|] */|/' \
-e 's:@-GNUCASH_LATEST_STABLE_SERIES-@:${GNUCASH_LATEST_STABLE_SERIES}:g' > $@
rm -f $@.tmp
if PLATFORM_WIN32
perl -pi.bak -e 's/" *$$//' $@
else
perl -pi.bak -e 's/" *$$/\n/' $@
endif
DISTCLEANFILES = gnucash.1 tip_of_the_day.list