doc: build: TEXIDEP: Recognize verbatim includes
authorAlexander Strasser <eclipse7@gmx.net>
Mon, 19 Dec 2011 23:27:22 +0000 (00:27 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 24 Dec 2011 01:56:52 +0000 (02:56 +0100)
  When generating the .dep files for .texi sources, verbatim includes
(@verbatiminclude) should also be taken into account.

Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
doc/Makefile

index afdd1c1..2dbf30a 100644 (file)
@@ -21,7 +21,7 @@ all-$(CONFIG_DOC): documentation
 
 documentation: $(DOCS)
 
-TEXIDEP = awk '/^@include/ { printf "$@: $(@D)/%s\n", $$2 }' <$< >$(@:%=%.d)
+TEXIDEP = awk '/^@(verbatim)?include/ { printf "$@: $(@D)/%s\n", $$2 }' <$< >$(@:%=%.d)
 
 doc/%.txt: TAG = TXT
 doc/%.txt: doc/%.texi