Translation needs the path to argparse.py, not to execute it

This commit is contained in:
Chris Mayo 2020-06-05 16:06:01 +01:00
parent 0ea620999d
commit e1f8fb9094

View file

@ -2,7 +2,7 @@ XGETTEXT := xgettext
MSGFMT := msgfmt
MSGMERGE := msgmerge
POSOURCES = $(shell find ../linkcheck -name \*.py) \
../linkchecker $(python3 -c 'import argparse; print(argparse.__file__)')
../linkchecker $(shell python3 -c 'import argparse; print(argparse.__file__)')
LDIR = ../share/locale
PACKAGE = linkchecker
TEMPLATE = $(PACKAGE).pot