AUDIT: r22721 - gnucash/trunk/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:14:51 EST 2013
Author: gjanssens
Date: 2013-01-22 05:14:51 -0500 (Tue, 22 Jan 2013)
New Revision: 22721
Trac: http://svn.gnucash.org/trac/changeset/22721
Modified:
gnucash/trunk/doc/Makefile.am
Log:
Bug #680086 - Each Tip of the Day has an n shown at the end
BP
Modified: gnucash/trunk/doc/Makefile.am
===================================================================
--- gnucash/trunk/doc/Makefile.am 2013-01-22 10:14:35 UTC (rev 22720)
+++ gnucash/trunk/doc/Makefile.am 2013-01-22 10:14:51 UTC (rev 22721)
@@ -51,9 +51,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 = gnucash.1 tip_of_the_day.list
More information about the gnucash-changes
mailing list