mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-28 04:03:39 +08: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.
6 lines
102 B
Bash
Executable File
6 lines
102 B
Bash
Executable File
#!/bin/sh
|
|
|
|
TOC_TXT=$1
|
|
env awk "{if (\$0 ~ /@toc@/){ system(\"cat ${TOC_TXT}\");} else{ print \$0;}}"
|
|
|