1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 10:42:34 +01:00
gallery-dl/Makefile
Mike Fährmann a67e002f40
update docs/supportedsites
- use Markdown with inline HTML instead of reStructuredText
- move file from docs/supportedsites.rst to docs/supportedsites.md
- update Makefile, README, etc
2021-03-12 03:03:48 +01:00

49 lines
1.2 KiB
Makefile

PREFIX ?= /usr/local
BINDIR ?= $(PREFIX)/bin
MANDIR ?= $(PREFIX)/man
SHAREDIR ?= $(PREFIX)/share
PYTHON ?= /usr/bin/env python3
all: man completion supportedsites
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.sh
executable:
scripts/pyinstaller.py
completion: data/completion/gallery-dl data/completion/_gallery-dl
man: data/man/gallery-dl.1 data/man/gallery-dl.conf.5
supportedsites: docs/supportedsites.md
.PHONY: all clean install release test executable completion man supportedsites
docs/supportedsites.md: gallery_dl/*/*.py scripts/supportedsites.py
$(PYTHON) scripts/supportedsites.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