]> granicus.if.org Git - neomutt/commitdiff
docs: fix the layout of the syntax file
authorRichard Russon <rich@flatcap.org>
Sun, 25 Sep 2016 20:57:04 +0000 (21:57 +0100)
committerRichard Russon <rich@flatcap.org>
Sun, 25 Sep 2016 20:57:04 +0000 (21:57 +0100)
doc/Makefile.am

index 9a7afe3aaf009a99bbfc89a12c9b1cc5711f74e5..b9deb9036efaca727c00eb061032dc740f1469fa 100644 (file)
@@ -157,7 +157,12 @@ manual.tex: stamp-doc-xml
        fi
 
 neomutt-syntax.vim: $(SAMPLE_VIMRC)
-       cat $(srcdir)/mutt-1.7.0-syntax.vim $^ > $@
+       ( \
+               grep -v "vim:" $(srcdir)/mutt-1.7.0-syntax.vim; \
+               echo; \
+               cat $^; \
+               grep "vim:" $(srcdir)/mutt-1.7.0-syntax.vim; \
+       ) > $@
 
 validate: stamp-doc-xml
        xmllint --noout --noblanks --postvalid manual.xml