diff options
Diffstat (limited to 'requirements/Makefile')
-rw-r--r-- | requirements/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/requirements/Makefile b/requirements/Makefile index 0f4d885fa..69b6c7432 100644 --- a/requirements/Makefile +++ b/requirements/Makefile @@ -9,13 +9,15 @@ VENV := $(PYTHON) -m venv VENV_PIP = $(VENVDIR)/bin/pip -.PHONY: all +.PHONY: all FORCE all: $(REQUIREMENTS_TXT) -%.txt: %.in +%.txt: %.in FORCE $(eval VENVDIR := $(shell mktemp -d $(CURDIR)/.bst-venv.XXXXXX)) $(VENV) $(VENVDIR) $(VENV_PIP) install -r $^ $(VENV_PIP) freeze -r $^ | grep -v pkg-resources > $@ rm -rf $(VENVDIR) + +FORCE: |