1
0
mirror of https://github.com/git/git synced 2024-07-02 15:48:44 +00:00

Point MAN_BASE_URL to git-htmldocs/ for now

This commit is contained in:
Junio C Hamano 2012-04-06 11:32:08 -07:00
parent 725ccc6d1a
commit 5053b9c185
4 changed files with 53 additions and 1 deletions

30
RelBuild Executable file
View 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
View 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
Release Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
Meta/RelBuild &&
Meta/RelUpload

View File

@ -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
'