]> xenbits.xensource.com Git - libvirt.git/commitdiff
doc: don't emit trailing blanks into generated and VC'd NEWS file
authorJim Meyering <meyering@redhat.com>
Tue, 15 Sep 2009 13:01:26 +0000 (15:01 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 15 Sep 2009 13:01:26 +0000 (15:01 +0200)
* docs/Makefile.am ($(top_builddir)/NEWS): Filter out trailing
white space.

docs/Makefile.am

index 9ac2f6db0742b3a8b117cdbdd122066377243adc..11259311d45e7f18a86d00180b7ab0499305c22d 100644 (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: