[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[libvirt] [PATCH] doc: don't emit trailing blanks into generated and VC'd NEWS file
- From: Jim Meyering <jim meyering net>
- To: Libvirt <libvir-list redhat com>
- Subject: [libvirt] [PATCH] doc: don't emit trailing blanks into generated and VC'd NEWS file
- Date: Tue, 15 Sep 2009 15:02:49 +0200
Daniel Veillard reported that the generated and VC'd NEWS file
was causing trouble because the latest version contains trailing
spaces, which conflicts with our server-side hook to prevent that.
Here's the fix to avoid emitting those trailing spaces:
>From 8110d304f49a217021371321ade0026ccd2627e1 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering redhat com>
Date: Tue, 15 Sep 2009 15:01:26 +0200
Subject: [PATCH] doc: don't emit trailing blanks into generated and VC'd NEWS file
* docs/Makefile.am ($(top_builddir)/NEWS): Filter out trailing
white space.
---
docs/Makefile.am | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 9ac2f6d..1125931 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -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:
--
1.6.5.rc1.171.g3f463
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]