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

John Ferlan posted 2 patches 7 years, 9 months ago
[libvirt] [PATCH 2/2] docs: Fix syntax-check error
Posted by John Ferlan 7 years, 9 months ago
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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list