From fc7e2034559d4b20f487395aee88a0d8c0f56ece Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Tue, 1 Dec 2020 19:00:59 +0100 Subject: [PATCH] auth api-swagger.json: do not depend on .venv target. Fixes #9792 --- pdns/Makefile.am | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 -- 2.47.2