diff options
author | Christian Hesse | 2018-11-20 23:55:03 +0100 |
---|---|---|
committer | Jason A. Donenfeld | 2018-11-21 02:30:41 +0100 |
commit | a22855747e97e55a7b7a2622fe671b8ca9af0981 (patch) | |
tree | 1a97ca8e50e8e83bde250b57a96bbfbeb83f1263 | |
parent | 2c9f56f3e1c754f60ccffbc6c745b9d5a81ea005 (diff) | |
download | cgit-a22855747e97e55a7b7a2622fe671b8ca9af0981.tar.gz cgit-a22855747e97e55a7b7a2622fe671b8ca9af0981.tar.bz2 cgit-a22855747e97e55a7b7a2622fe671b8ca9af0981.zip |
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>
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,7 +15,7 @@ pdfdir = $(docdir) | |||
15 | mandir = $(prefix)/share/man | 15 | mandir = $(prefix)/share/man |
16 | SHA1_HEADER = <openssl/sha.h> | 16 | SHA1_HEADER = <openssl/sha.h> |
17 | GIT_VER = 2.19.1 | 17 | GIT_VER = 2.19.1 |
18 | GIT_URL = https://www.kernel.org/pub/software/scm/git/git-$(GIT_VER).tar.gz | 18 | GIT_URL = https://www.kernel.org/pub/software/scm/git/git-$(GIT_VER).tar.xz |
19 | INSTALL = install | 19 | INSTALL = install |
20 | COPYTREE = cp -r | 20 | COPYTREE = cp -r |
21 | MAN5_TXT = $(wildcard *.5.txt) | 21 | MAN5_TXT = $(wildcard *.5.txt) |
@@ -157,7 +157,7 @@ clean-doc: | |||
157 | $(RM) cgitrc.5 cgitrc.5.html cgitrc.5.pdf cgitrc.5.xml cgitrc.5.fo | 157 | $(RM) cgitrc.5 cgitrc.5.html cgitrc.5.pdf cgitrc.5.xml cgitrc.5.fo |
158 | 158 | ||
159 | get-git: | 159 | get-git: |
160 | curl -L $(GIT_URL) | tar -xzf - && rm -rf git && mv git-$(GIT_VER) git | 160 | curl -L $(GIT_URL) | tar -xJf - && rm -rf git && mv git-$(GIT_VER) git |
161 | 161 | ||
162 | tags: | 162 | tags: |
163 | $(QUIET_TAGS)find . -name '*.[ch]' | xargs ctags | 163 | $(QUIET_TAGS)find . -name '*.[ch]' | xargs ctags |