From: Peter van Dijk Date: Tue, 1 Dec 2020 18:00:59 +0000 (+0100) Subject: auth api-swagger.json: do not depend on .venv target. Fixes #9792 X-Git-Tag: rec-4.5.0-alpha1~97^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F9794%2Fhead;p=thirdparty%2Fpdns.git auth api-swagger.json: do not depend on .venv target. Fixes #9792 --- diff --git a/pdns/Makefile.am b/pdns/Makefile.am index b9cb532560..2fc75640d0 100644 --- a/pdns/Makefile.am +++ b/pdns/Makefile.am @@ -82,12 +82,10 @@ api-swagger.yaml: $(wildcard ../docs/http-api/swagger/authoritative-api-swagger. cp $< $@ if HAVE_VENV -.venv: requirements.txt +api-swagger.json: api-swagger.yaml requirements.txt $(PYTHON) -m venv .venv .venv/bin/pip install -U pip setuptools setuptools-git wheel .venv/bin/pip install -r requirements.txt - -api-swagger.json: api-swagger.yaml .venv .venv/bin/python convert-yaml-to-json.py $< $@ else # if HAVE_VENV if !HAVE_API_SWAGGER_JSON