[FFmpeg-cvslog] build: Simplify texi2html invocation through the --output option.

Diego Biurrun git at videolan.org
Sat Jun 4 06:39:59 CEST 2011


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Mon May 30 17:28:43 2011 +0200| [a5514a84748e90adbbfa2661ccea1e004e6ef604] | committer: Diego Biurrun

build: Simplify texi2html invocation through the --output option.

The --output option is available in texi2html since at least version 1.78.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a5514a84748e90adbbfa2661ccea1e004e6ef604
---

 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index d18a2f9..f626332 100644
--- a/Makefile
+++ b/Makefile
@@ -117,7 +117,7 @@ TEXIDEP = awk '/^@include/ { printf "$@: $(@D)/%s\n", $$2 }' <$< >$(@:%=%.d)
 doc/%.html: TAG = HTML
 doc/%.html: doc/%.texi $(SRC_PATH_BARE)/doc/t2h.init
 	$(Q)$(TEXIDEP)
-	$(M)cd doc && texi2html -monolithic --init-file $(SRC_PATH_BARE)/doc/t2h.init $(<:doc/%=%)
+	$(M)texi2html -monolithic --init-file $(SRC_PATH_BARE)/doc/t2h.init --output $@ $<
 
 doc/%.pod: TAG = POD
 doc/%.pod: doc/%.texi



More information about the ffmpeg-cvslog mailing list