1 # hdw - linux git package
3 # author: hackbard@hackdaworld.dyndns.org
7 # [D] git-latest.tar.gz http://www.codemonkey.org.uk/projects/git-snapshots/git/
8 # [D] git-changes-script http://www.kernel.org/pub/linux/kernel/people/jgarzik/
9 # [D] git-new-branch http://www.kernel.org/pub/linux/kernel/people/jgarzik/
11 install_conf="prefix=$prefix $install_conf"
15 for i in git-changes-script git-new-branch; do
16 install -m 0755 $archdir/$i $prefix/bin
18 # patching git documentation
19 sed -i 's%link:howto-index.html%link:../howto%' Documentation/git.txt
20 # installing documentation
21 rm -rf $docdir ; mkdir -p $docdir/{html,ascii}
22 for i in Documentation/git*.txt; do
23 asciidoc -b html4 -d manpage $i
24 install -m 0644 $i $docdir/ascii
25 install -m 0644 `echo $i | sed 's/.txt/.html/'` $docdir/html
27 for i in cvs-migration tutorial glossary diff-format diff-options \
28 diffcore pack-protocol hooks pull-fetch-param \
30 asciidoc Documentation/$i.txt
31 install -m 0644 Documentation/$i.txt $docdir/ascii
32 install -m 0644 Documentation/$i.html $docdir/html
34 cp -r Documentation/{howto,technical} $docdir