-
-
Notifications
You must be signed in to change notification settings - Fork 974
/
Makefile
56 lines (36 loc) · 1.44 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
PREFIX ?= /usr/local
BINDIR ?= $(PREFIX)/bin
MANDIR ?= $(PREFIX)/man
SHAREDIR ?= $(PREFIX)/share
PYTHON ?= /usr/bin/env python3
all: man completion supportedsites options
clean:
$(RM) -r build/
$(RM) -r data/
install: man completion
$(PYTHON) setup.py install
release: man completion supportedsites
scripts/release.sh
test:
scripts/run_tests.py
executable:
scripts/pyinstaller.py
completion: data/completion/gallery-dl data/completion/_gallery-dl data/completion/gallery-dl.fish
man: data/man/gallery-dl.1 data/man/gallery-dl.conf.5
supportedsites: docs/supportedsites.md
options: docs/options.md
.PHONY: all clean install release test executable completion man supportedsites options
docs/supportedsites.md: gallery_dl/*/*.py scripts/supportedsites.py
$(PYTHON) scripts/supportedsites.py
docs/options.md: gallery_dl/option.py scripts/options.py
$(PYTHON) scripts/options.py
data/man/gallery-dl.1: gallery_dl/option.py gallery_dl/version.py scripts/man.py
$(PYTHON) scripts/man.py
data/man/gallery-dl.conf.5: docs/configuration.rst gallery_dl/version.py scripts/man.py
$(PYTHON) scripts/man.py
data/completion/gallery-dl: gallery_dl/option.py scripts/completion_bash.py
$(PYTHON) scripts/completion_bash.py
data/completion/_gallery-dl: gallery_dl/option.py scripts/completion_zsh.py
$(PYTHON) scripts/completion_zsh.py
data/completion/gallery-dl.fish: gallery_dl/option.py scripts/completion_fish.py
$(PYTHON) scripts/completion_fish.py