doc: don't emit trailing blanks into generated and VC'd NEWS file

* docs/Makefile.am ($(top_builddir)/NEWS): Filter out trailing
white space.
This commit is contained in:
Jim Meyering 2009-09-15 15:01:26 +02:00
parent 315c0aa08c
commit 8110d304f4
1 changed files with 1 additions and 0 deletions

View File

@ -131,6 +131,7 @@ $(top_builddir)/NEWS: $(top_srcdir)/docs/news.xsl $(top_srcdir)/docs/news.html.i
$(XSLTPROC) --nonet $(top_srcdir)/docs/news.xsl \
$(top_srcdir)/docs/news.html.in \
| perl -0777 -pe 's/\n\n+$$/\n/' \
| perl -pe 's/[ \t]+$//' \
> $@-t && mv $@-t $@ ; fi );
clean-local: