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.
Unified · Split
| @@ -102,7 +102,7 @@ DOXY_INPUT_DEPS = $(addprefix $(SRC_PATH)/, $(DOXY_INPUT)) ffbuild/config.mak · 101 unmodified lines | ||
| 102 | 102 | |
| 103 | 103 | doc/doxy/html: TAG = DOXY |
| 104 | 104 | doc/doxy/html: $(SRC_PATH)/doc/Doxyfile $(SRC_PATH)/doc/doxy-wrapper.sh $(DOXY_INPUT_DEPS) |
| 105 | − $(M)OUT_DIR=$$PWD/doc/doxy; cd $(SRC_PATH); ./doc/doxy-wrapper.sh $$OUT_DIR $< $(DOXYGEN) $(DOXY_INPUT); | |
| 105 | + $(M)$(SRC_PATH)/doc/doxy-wrapper.sh $$PWD/doc/doxy $(SRC_PATH) doc/Doxyfile $(DOXYGEN) $(DOXY_INPUT); | |
| 106 | 106 | |
| 107 | 107 | install-doc: install-html install-man |
| 108 | 108 | |
| @@ -1,10 +1,13 @@ | ||
| 1 | 1 | #!/bin/sh |
| 2 | 2 | |
| 3 | 3 | OUT_DIR="${1}" |
| 4 | −DOXYFILE="${2}" | |
| 5 | −DOXYGEN="${3}" | |
| 4 | +SRC_DIR="${2}" | |
| 5 | +DOXYFILE="${3}" | |
| 6 | +DOXYGEN="${4}" | |
| 6 | 7 | |
| 7 | −shift 3 | |
| 8 | +shift 4 | |
| 9 | + | |
| 10 | +cd ${SRC_DIR} | |
| 8 | 11 | |
| 9 | 12 | if [ -e "VERSION" ]; then |
| 10 | 13 | VERSION=`cat "VERSION"` |