Skip to content

Commit 4de1efd

Browse files
committed
Makefile: various fixes and updates
1 parent 2b8f1a7 commit 4de1efd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
VERSION ?= 0.3
1+
VERSION ?= 0.4.1
22
DESTDIR ?=
33
PREFIX ?= /usr/local
44
MIRRORURL ?= https://xmirror.voidlinux.org/raw/mirrors.lst
55
PYTHON ?= python3
66

77
.PHONY: all completions install clean deploy
88

9-
all: xmirror completions
9+
all: xmirror completions deploy
1010

1111
xmirror: xmirror.in
1212
sed -e "s/@@VERSION@@/$(VERSION)/g; s,@@MIRRORURL@@,$(MIRRORURL),g" $< >$@+
@@ -20,10 +20,10 @@ completions/%: completions/%.in
2020

2121
install: all
2222
install -Dm 755 xmirror -t $(DESTDIR)$(PREFIX)/bin
23-
install -Dm 644 mirrors.lst -t $(DESTDIR)$(PREFIX)/share/xmirror
23+
install -Dm 644 _site/raw/mirrors.lst -t $(DESTDIR)$(PREFIX)/share/xmirror
2424
install -Dm 644 completions/_xmirror -t $(DESTDIR)$(PREFIX)/share/zsh/site-functions
25-
install -Dm 644 completions/xmirror.fish -t $(DESTDIR)/$(PREFIX)/share/fish/vendor_completions.d
26-
install -Dm 644 completions/xmirror.bash -t $(DESTDIR)/usr/share/bash-completion/completions
25+
install -Dm 644 completions/xmirror.fish -t $(DESTDIR)$(PREFIX)/share/fish/vendor_completions.d
26+
install -Dm 644 completions/xmirror.bash -t $(DESTDIR)$(PREFIX)/share/bash-completion/completions
2727
install -Dm 644 xmirror.1 -t $(DESTDIR)$(PREFIX)/share/man/man1
2828

2929
clean:

0 commit comments

Comments
 (0)