mirror of
https://github.com/git/git.git
synced 2026-01-12 13:53:11 +09:00
18 lines
427 B
Bash
Executable File
18 lines
427 B
Bash
Executable File
#!/bin/sh
|
|
|
|
j="-j 8"
|
|
version=$(git describe --exact) &&
|
|
label=$(echo "$version" | sed -e 's|^v||') &&
|
|
version=$(echo "$label" | sed -e 's|-|.|g') || exit
|
|
|
|
make clean && make $j CFLAGS="-O2 -Wno-format-zero-length" dist &&
|
|
|
|
ASCIIDOC_NO_ROFF=YesPlease \
|
|
ASCIIDOC8=YesPlease \
|
|
MAN_BASE_URL="git-htmldocs/" \
|
|
make $j dist-doc || exit
|
|
# The above used to be
|
|
# MAN_BASE_URL="http://www.kernel.org/pub/software/scm/git/docs/"
|
|
|
|
exit $?
|