add Makefile; include manpage&completion in setup.py (#150)

This commit is contained in:
Mike Fährmann
2019-03-24 10:36:33 +01:00
parent eacebf41e4
commit e5f44a5160
5 changed files with 45 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ for action in option.build_parser()._actions:
opts.append(opt)
PATH = os.path.join(ROOTDIR, "gallery-dl.bash-completion")
PATH = os.path.join(ROOTDIR, "gallery-dl.bash_completion")
with open(PATH, "w", encoding="utf-8") as file:
file.write(TEMPLATE % {
"opts" : " ".join(opts),

View File

@@ -98,7 +98,7 @@ supportedsites() {
cd "${ROOTDIR}"
echo Checking if "${SUPPORTEDSITES}" is up to date
./scripts/build_supportedsites.py
./scripts/supportedsites.py
if ! git diff --quiet "${SUPPORTEDSITES}"; then
echo "updated ${SUPPORTEDSITES} contains changes"
exit 4