What's cooking (2015-08 #06)
[git.git] / RelBuild
blobf1e8ba5df17ca15d7581dcd0d0a3cb4b364e2009
1 #!/bin/sh
3 j="-j 8"
4 version=$(git describe --exact) &&
5 label=$(echo "$version" | sed -e 's|^v||') &&
6 version=$(echo "$label" | sed -e 's|-|.|g') || exit
8 make clean && make $j CFLAGS="-O2 -Wno-format-zero-length" dist &&
10 ASCIIDOC_NO_ROFF=YesPlease \
11 ASCIIDOC8=YesPlease \
12 MAN_BASE_URL="git-htmldocs/" \
13 make $j dist-doc || exit
14 # The above used to be
15 # MAN_BASE_URL="http://www.kernel.org/pub/software/scm/git/docs/"
17 exit $?