fix data file inclusion in source distributions
This commit is contained in:
11
Makefile
11
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user