]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: Fix syntax-check error
authorJohn Ferlan <jferlan@redhat.com>
Wed, 2 Aug 2017 18:58:31 +0000 (14:58 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 2 Aug 2017 19:00:58 +0000 (15:00 -0400)
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

docs/Makefile.am

index 633a0fa50c33b3d64e29b21e7ff4bb018734ae1c..d04b2d5c6f3df41445b3eac5f4837183213aca5e 100644 (file)
@@ -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; }