1
0
Fork 0

[update] Fixup Makefile again

This commit is contained in:
Sebastian Schulze 2018-03-04 02:23:15 +01:00
parent 54028220a3
commit ed0134cbab
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
1 changed files with 5 additions and 4 deletions

View File

@ -1,12 +1,13 @@
HUGO_URL = "https://github.com/spf13/hugo/releases/download/v0.37/hugo_0.37_linux_amd64.tar.gz"
HUGO_VERSION="0.37"
HUGO_URL="https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz"
default: hugo public
default: hugo clean public
hugo:
curl -L $(HUGO_URL) > ./hugo.tar.gz
tar -xvf hugo.tar.gz
mv hugo_*/hugo*amd64 hugo
rm -rf hugo.tar.gz hugo_*_amd64
rm -f LICENSE.md README.md
public:
hugo