OLD | NEW |
1 #!/bin/bash -e | 1 #!/bin/bash -e |
2 shopt -s nullglob | 2 shopt -s nullglob |
3 | 3 |
4 cd $(dirname "$0") | 4 cd $(dirname "$0") |
5 | 5 |
6 # Script which takes all the asciidoc git-*.txt files in this directory, renders | 6 # Script which takes all the asciidoc git-*.txt files in this directory, renders |
7 # them to html + manpage format using git 1.9's doc toolchain, then puts | 7 # them to html + manpage format using git 1.9's doc toolchain, then puts |
8 # them in depot_tools to be committed. | 8 # them in depot_tools to be committed. |
9 | 9 |
10 ensure_in_path() { | 10 ensure_in_path() { |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 do | 241 do |
242 echo Copying ../man1/$x | 242 echo Copying ../man1/$x |
243 cp "git/Documentation/$x" ../man1 | 243 cp "git/Documentation/$x" ../man1 |
244 done | 244 done |
245 | 245 |
246 for x in "${MAN7_TARGETS[@]}" | 246 for x in "${MAN7_TARGETS[@]}" |
247 do | 247 do |
248 echo Copying ../man7/$x | 248 echo Copying ../man7/$x |
249 cp "git/Documentation/$x" ../man7 | 249 cp "git/Documentation/$x" ../man7 |
250 done | 250 done |
OLD | NEW |