mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-30 22:58:46 +00:00
df4b03d859
This fixes a variety of issues related to building the documentation with CMake. In particular it cleans up the dependency management and fixes some issues where the documentation build was using generated files from the source directory.
16 lines
470 B
Bash
Executable file
16 lines
470 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Usage: Doxyfile.user lexicon_filter
|
|
DOXYFILE=$1
|
|
LEXICON_FILTER=$2
|
|
|
|
(cat "${DOXYFILE}" ;\
|
|
echo INPUT_FILTER="${LEXICON_FILTER}"; \
|
|
echo PROJECT_NUMBER=${FISH_BUILD_VERSION} \
|
|
| /usr/bin/env sed "s/-[a-z0-9-]*//") \
|
|
| doxygen - && touch user_doc
|
|
|
|
(cd ./user_doc/html/ && \
|
|
rm -f bc_s.png bdwn.png closed.png doc.png folder*.png ftv2*.png \
|
|
nav*.png open.png splitbar.png sync_*.png tab*.* doxygen.* \
|
|
dynsections.js jquery.js pages.html)
|