aboutsummaryrefslogtreecommitdiffstats
path: root/doc/Makefile
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-03-20 10:54:02 +0000
committerMans Rullgard <mans@mansr.com>2012-03-20 11:10:25 +0000
commit2ac3df858c3afdc1e3a8e19670483a379f7da447 (patch)
tree6058e29817e00ce02f53c6aa9aacdd78dcbd3ba1 /doc/Makefile
parentb8b207e8963f35a76c6981d7a74d6c08a53abab9 (diff)
downloadffmpeg-2ac3df858c3afdc1e3a8e19670483a379f7da447.tar.gz
doc: pass -Idoc texi2html and texi2pod
This fixes doc generation in build tree separate from source. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile4
1 files changed, 2 insertions, 2 deletions
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)