git: use xz compressed archive for download
Upstream will stop providing gz compressed source tarballs [0], so stop using them. [0] https://lists.zx2c4.com/pipermail/cgit/2018-November/004254.html Signed-off-by: Christian Hesse <mail@eworm.de>
This commit is contained in:
parent
2c9f56f3e1
commit
a22855747e
4
Makefile
4
Makefile
@ -15,7 +15,7 @@ pdfdir = $(docdir)
|
|||||||
mandir = $(prefix)/share/man
|
mandir = $(prefix)/share/man
|
||||||
SHA1_HEADER = <openssl/sha.h>
|
SHA1_HEADER = <openssl/sha.h>
|
||||||
GIT_VER = 2.19.1
|
GIT_VER = 2.19.1
|
||||||
GIT_URL = https://www.kernel.org/pub/software/scm/git/git-$(GIT_VER).tar.gz
|
GIT_URL = https://www.kernel.org/pub/software/scm/git/git-$(GIT_VER).tar.xz
|
||||||
INSTALL = install
|
INSTALL = install
|
||||||
COPYTREE = cp -r
|
COPYTREE = cp -r
|
||||||
MAN5_TXT = $(wildcard *.5.txt)
|
MAN5_TXT = $(wildcard *.5.txt)
|
||||||
@ -157,7 +157,7 @@ clean-doc:
|
|||||||
$(RM) cgitrc.5 cgitrc.5.html cgitrc.5.pdf cgitrc.5.xml cgitrc.5.fo
|
$(RM) cgitrc.5 cgitrc.5.html cgitrc.5.pdf cgitrc.5.xml cgitrc.5.fo
|
||||||
|
|
||||||
get-git:
|
get-git:
|
||||||
curl -L $(GIT_URL) | tar -xzf - && rm -rf git && mv git-$(GIT_VER) git
|
curl -L $(GIT_URL) | tar -xJf - && rm -rf git && mv git-$(GIT_VER) git
|
||||||
|
|
||||||
tags:
|
tags:
|
||||||
$(QUIET_TAGS)find . -name '*.[ch]' | xargs ctags
|
$(QUIET_TAGS)find . -name '*.[ch]' | xargs ctags
|
||||||
|
Loading…
Reference in New Issue
Block a user