[neomutt-devel] [PATCH] Use $(srcdir) for building neomutt-syntax.vim

Elimar Riesebieter riesebie at lxtec.de
Sat Sep 17 11:11:37 CEST 2016


If someone builds neomutt in an external directory doc's Makefile need
to read from $(srcdir).

Signed-off-by: Elimar Riesebieter <riesebie at lxtec.de>
---
 doc/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index e87bc9a..e13794f 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -155,7 +155,7 @@ manual.tex: stamp-doc-xml
 	fi
 
 neomutt-syntax.vim: $(SAMPLE_VIMRC)
-	cat mutt-1.7.0-syntax.vim $^ > $@
+	cat $(srcdir)/mutt-1.7.0-syntax.vim $^ > $@
 
 validate: stamp-doc-xml
 	xmllint --noout --noblanks --postvalid manual.xml
-- 
2.9.3


-- 
  Excellent day for drinking heavily.
  Spike the office water cooler;-)


More information about the neomutt-devel mailing list