mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
baba19c180
As part of factoring out the documentation building parts of the fish build, add a new file build_index_hdr.sh that builds the index.hdr file. Invoke it from both the Makefile and CMake build.
5 lines
102 B
Bash
Executable file
5 lines
102 B
Bash
Executable file
#!/bin/sh
|
|
|
|
TOC_TXT=$1
|
|
env awk "{if (\$0 ~ /@toc@/){ system(\"cat ${TOC_TXT}\");} else{ print \$0;}}"
|
|
|