fix data file inclusion in source distributions

This commit is contained in:
Mike Fährmann
2019-11-09 00:00:40 +01:00
parent 6c86fbfe2a
commit ce98a86c0e
8 changed files with 19 additions and 19 deletions

View File

@@ -10,6 +10,7 @@ all: man completion docs/supportedsites.rst
clean:
$(RM) -r build/
$(RM) -r data/
install: man completion
$(PYTHON) setup.py install
@@ -23,20 +24,20 @@ test:
executable:
scripts/pyinstaller.py
completion: build/completion/gallery-dl
completion: data/completion/gallery-dl
man: build/man/gallery-dl.1 build/man/gallery-dl.conf.5
man: data/man/gallery-dl.1 data/man/gallery-dl.conf.5
.PHONY: all clean install release test executable completion man
docs/supportedsites.rst: gallery_dl/*/*.py scripts/supportedsites.py
$(PYTHON) scripts/supportedsites.py
build/man/gallery-dl.1: gallery_dl/option.py gallery_dl/version.py scripts/man.py
data/man/gallery-dl.1: gallery_dl/option.py gallery_dl/version.py scripts/man.py
$(PYTHON) scripts/man.py
build/man/gallery-dl.conf.5: docs/configuration.rst gallery_dl/version.py scripts/man.py
data/man/gallery-dl.conf.5: docs/configuration.rst gallery_dl/version.py scripts/man.py
$(PYTHON) scripts/man.py
build/completion/gallery-dl: gallery_dl/option.py scripts/bash_completion.py
data/completion/gallery-dl: gallery_dl/option.py scripts/bash_completion.py
$(PYTHON) scripts/bash_completion.py