[SCM] libav/experimental: Change dir into doc/ when running texi2html

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:03:58 UTC 2013


The following commit has been merged in the experimental branch:
commit b91cd80917b16313a2b110d8a98b7dff4ca86b6a
Author: Måns Rullgård <mans at mansr.com>
Date:   Wed Mar 10 02:56:47 2010 +0000

    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

diff --git a/Makefile b/Makefile
index 93d0572..1eb60fe 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 $< $@

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list