[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH 2/2] docs: Fix syntax-check error



Commit id '94d2d6429' caused a syntax-error check to fail:

docs/Makefile.am:276:	$(AM_V_GEN)sed -e '/<span id="php_placeholder"><\/span>/r '"$(srcdir)/$  code in" \
maint.mk: Wrap long lines in Makefiles
cfg.mk:721: recipe for target 'sc_prohibit_long_lines' failed
make: *** [sc_prohibit_long_lines] Error 1
make: *** Waiting for unfinished jobs....

Altered the line to put another line wrap between sed and -e

Signed-off-by: John Ferlan <jferlan redhat com>
---
 docs/Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/Makefile.am b/docs/Makefile.am
index 633a0fa..d04b2d5 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -273,7 +273,8 @@ MAINTAINERCLEANFILES += \
 	    || { rm $@ && exit 1; }
 
 %.php: %.php.tmp %.php.code.in
-	$(AM_V_GEN)sed -e '/<span id="php_placeholder"><\/span>/r '"$(srcdir)/$  code in" \
+	$(AM_V_GEN)sed \
+	    -e '/<span id="php_placeholder"><\/span>/r '"$(srcdir)/$  code in" \
 	    -e /php_placeholder/d < $  tmp > $(srcdir)/$@ \
 	    || { rm $(srcdir)/$@ && exit 1; }
 
-- 
2.9.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]