AUDIT: r22722 - gnucash/branches/2.4/doc - Bug #680086 - Each Tip of the Day has an n shown at the end
Geert Janssens
gjanssens at code.gnucash.org
Tue Jan 22 05:27:00 EST 2013
Author: gjanssens
Date: 2013-01-22 05:26:59 -0500 (Tue, 22 Jan 2013)
New Revision: 22722
Trac: http://svn.gnucash.org/trac/changeset/22722
Modified:
gnucash/branches/2.4/doc/Makefile.am
Log:
Bug #680086 - Each Tip of the Day has an n shown at the end
BP
Modified: gnucash/branches/2.4/doc/Makefile.am
===================================================================
--- gnucash/branches/2.4/doc/Makefile.am 2013-01-22 10:14:51 UTC (rev 22721)
+++ gnucash/branches/2.4/doc/Makefile.am 2013-01-22 10:26:59 UTC (rev 22722)
@@ -52,9 +52,13 @@
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 = gnc-prices.1 gnucash.1 tip_of_the_day.list
More information about the gnucash-changes
mailing list