mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-30 06:03:49 +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;}}"
|
|
|