aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMåns Rullgård2010-03-10 02:56:47 +0000
committerMåns Rullgård2010-03-10 02:56:47 +0000
commitb91cd80917b16313a2b110d8a98b7dff4ca86b6a (patch)
treeb18e3f9c3e7e73f30d607044b15b3b326385066f /Makefile
parentf50dafa8fcefac0fc3a0e010eb444c1b5acaccc9 (diff)
Change dir into doc/ when running texi2html
This silly program always writes its output to the current directory. Changing directory is better than moving the file afterwards. Originally committed as revision 22417 to svn://svn.ffmpeg.org/ffmpeg/trunk
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 $< $@