add Makefile; include manpage&completion in setup.py (#150)
This commit is contained in:
@@ -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),
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user