forked from dkgroot/provision_sccp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
25 lines (20 loc) · 698 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
SHELL := /usr/bin/env bash
PIP := /usr/bin/env pip
PYTHON := /usr/bin/env python
.PHONY: bootstrap clean
.DEFAULT_GOAL := all
all:
bootstrap: .requirements_satisfied tools/generate.py
@echo "running generate"
@$(PYTHON) tools/generate.py
.requirements_satisfied: tools/requirements.txt
@echo "checking requirements"
@$(PIP) install --user -r tools/requirements.txt
@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
# @find . -type f -name 'etc/tftpd-hpa/rewrite.rules' -delete
# @find . -type f -name 'etc/nginx/site-available/tftpboot' -delete