mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 23:04:22 +08: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.
17 lines
470 B
Bash
Executable File
17 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)
|