mirror of https://gitee.com/openkylin/libvirt.git
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:
parent
315c0aa08c
commit
8110d304f4
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue