From 2ac3df858c3afdc1e3a8e19670483a379f7da447 Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Tue, 20 Mar 2012 10:54:02 +0000 Subject: doc: pass -Idoc texi2html and texi2pod This fixes doc generation in build tree separate from source. Signed-off-by: Mans Rullgard --- doc/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/Makefile') diff --git a/doc/Makefile b/doc/Makefile index 5172707a4b..a051f6e6d1 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -29,12 +29,12 @@ $(GENTEXI): doc/avoptions_%.texi: doc/print_options doc/%.html: TAG = HTML doc/%.html: doc/%.texi $(SRC_PATH)/doc/t2h.init $(GENTEXI) $(Q)$(TEXIDEP) - $(M)texi2html -monolithic --init-file $(SRC_PATH)/doc/t2h.init --output $@ $< + $(M)texi2html -I doc -monolithic --init-file $(SRC_PATH)/doc/t2h.init --output $@ $< doc/%.pod: TAG = POD doc/%.pod: doc/%.texi $(GENTEXI) $(Q)$(TEXIDEP) - $(M)$(SRC_PATH)/doc/texi2pod.pl $< $@ + $(M)$(SRC_PATH)/doc/texi2pod.pl -Idoc $< $@ doc/%.1: TAG = MAN doc/%.1: doc/%.pod $(GENTEXI) -- cgit v1.2.3