summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-05-30 17:28:43 +0200
committerDiego Biurrun <diego@biurrun.de>2011-06-03 15:43:05 +0200
commita5514a84748e90adbbfa2661ccea1e004e6ef604 (patch)
treee402c30f9861e2a4939676a954204e01ecd12384 /Makefile
parent5e1166b31be45b37cbbd14eecfa1b260190ac651 (diff)
build: Simplify texi2html invocation through the --output option.
The --output option is available in texi2html since at least version 1.78.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d18a2f97cf..f626332482 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