summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 93d057274e..1eb60fe5b0 100644
--- a/Makefile
+++ b/Makefile
@@ -94,8 +94,7 @@ documentation: $(addprefix doc/, developer.html faq.html ffmpeg-doc.html \
general.html libavfilter.html $(ALLMANPAGES))
doc/%.html: doc/%.texi
- texi2html -monolithic -number $<
- mv $(@F) $@
+ cd doc && texi2html -monolithic -number $(<:doc/%=%)
doc/%.pod: doc/%-doc.texi
doc/texi2pod.pl $< $@