23 lines
476 B
Makefile
23 lines
476 B
Makefile
SHELL := /usr/bin/env bash
|
|
PIP := /usr/bin/env pip
|
|
PYTHON := /usr/bin/env python
|
|
|
|
.PHONY: bootstrap clean
|
|
.DEFAULT_GOAL := all
|
|
|
|
all: .requirements_satisfied
|
|
@$(PYTHON) generate.py
|
|
|
|
bootstrap:
|
|
@$(PIP) install --user -r requirements.txt
|
|
|
|
.requirements_satisfied:
|
|
$(MAKE) bootstrap
|
|
@touch $@
|
|
|
|
clean:
|
|
@find . -type f -name '*.pyc' -delete
|
|
@find . -type f -name '*~' -delete
|
|
@find . -type f -name '*.bak' -delete
|
|
@find . -type f -name '.requirements_satisfied' -delete
|