mirror of
https://github.com/git/git
synced 2024-10-02 14:45:21 +00:00
Point MAN_BASE_URL to git-htmldocs/ for now
This commit is contained in:
parent
725ccc6d1a
commit
5053b9c185
30
RelBuild
Executable file
30
RelBuild
Executable file
|
@ -0,0 +1,30 @@
|
|||
#!/bin/sh
|
||||
|
||||
version=$(git describe --exact) &&
|
||||
label=$(echo "$version" | sed -e 's|^v||') &&
|
||||
version=$(echo "$label" | sed -e 's|-|.|g') || exit
|
||||
|
||||
make clean && make dist &&
|
||||
|
||||
ASCIIDOC_NO_ROFF=YesPlease \
|
||||
ASCIIDOC8=YesPlease \
|
||||
MAN_BASE_URL="git-htmldocs/" \
|
||||
make dist-doc || exit
|
||||
|
||||
# The above used to be
|
||||
# MAN_BASE_URL="http://www.kernel.org/pub/software/scm/git/docs/"
|
||||
|
||||
files="
|
||||
git-$version.tar.gz
|
||||
git-htmldocs-$version.tar.gz
|
||||
git-manpages-$version.tar.gz
|
||||
"
|
||||
|
||||
for file in $files
|
||||
do
|
||||
test -f $file || exit
|
||||
done
|
||||
|
||||
sha1sum $files | gpg --clearsign >git-$version.sign
|
||||
|
||||
ls -l git-$version.sign $files
|
16
RelClean
Executable file
16
RelClean
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
rm="rm -f -v"
|
||||
case "$1" in -n) rm="echo # rm" ;; esac
|
||||
|
||||
for s in git-*.sign
|
||||
do
|
||||
test -f "$s" &&
|
||||
v=$(expr "$s" : '^git-\(.*\)\.sign$') &&
|
||||
$rm git-$v.tar.gz &&
|
||||
$rm git-htmldocs-$v.tar.gz &&
|
||||
$rm git-manpages-$v.tar.gz &&
|
||||
$rm "$s"
|
||||
done
|
||||
|
||||
|
4
dodoc.sh
4
dodoc.sh
|
@ -58,10 +58,12 @@ do
|
|||
)
|
||||
done
|
||||
|
||||
# The below used to contain this instead...
|
||||
# MAN_BASE_URL="http://www.kernel.org/pub/software/scm/git/docs/"
|
||||
dd='
|
||||
ASCIIDOC_NO_ROFF=YesPlease
|
||||
ASCIIDOC8=YesPlease
|
||||
MAN_BASE_URL="http://www.kernel.org/pub/software/scm/git/docs/"
|
||||
MAN_BASE_URL="git-htmldocs/"
|
||||
BLK_SHA1=YesPlease
|
||||
GNU_ROFF=YesPlease
|
||||
'
|
||||
|
|
Loading…
Reference in a new issue