summaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-04-24 14:52:27 +0200
committerAnton Khirnov <anton@khirnov.net>2021-06-11 19:28:27 +0200
commit5384ee486af11df9c9a9a9fd8f3cbd3fc859cd17 (patch)
tree5226e3af9a4f5a9d62ac0bd2d1fc34736c4f9610 /doc/Makefile
parenta501d559050f395f22153a7954b193feb18325e4 (diff)
downloadffmpeg-5384ee486af11df9c9a9a9fd8f3cbd3fc859cd17.tar.gz
doc: fix generating doxy with out-of-tree builds
Broken in 753930bc7300dd595c4bab51c5a70d1da9083da4, as the path to Doxyfile passed to doxy-wrapper.sh is relative to the build dir, while the recipe cd's to the source dir before invoking the wrapper.
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/Makefile b/doc/Makefile
index fa4996b5a3..58ca3fabd8 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -102,7 +102,7 @@ DOXY_INPUT_DEPS = $(addprefix $(SRC_PATH)/, $(DOXY_INPUT)) ffbuild/config.mak
doc/doxy/html: TAG = DOXY
doc/doxy/html: $(SRC_PATH)/doc/Doxyfile $(SRC_PATH)/doc/doxy-wrapper.sh $(DOXY_INPUT_DEPS)
- $(M)OUT_DIR=$$PWD/doc/doxy; cd $(SRC_PATH); ./doc/doxy-wrapper.sh $$OUT_DIR $< $(DOXYGEN) $(DOXY_INPUT);
+ $(M)$(SRC_PATH)/doc/doxy-wrapper.sh $$PWD/doc/doxy $(SRC_PATH) doc/Doxyfile $(DOXYGEN) $(DOXY_INPUT);
install-doc: install-html install-man