blob: 768a1f8c629ed1c1cbbd8864beda6f7b0371d2f0 (
plain)
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
26
27
28
|
# SHELL:=/bin/bash
.DEFAULT_GOAL:=update
export ROOTDIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
# ## Install all dependencies
# # Usage:
# # make deps
# deps: deps-python
# #/ activates virenv and installs deps
# deps-python:
# @cd "$(ROOTDIR)"
# @if [ ! -d $(VIRTUAL_ENV)/bin ] ; \
# then \
# virtualenv --python=python3 "$(VIRTUAL_ENV)" ;\
# fi
# @. $(VIRTUAL_ENV)/bin/activate ; \
# $(VIRTUAL_ENV)/bin/pip3 install -r $(ROOTDIR)/requirements.txt -q
## Update (automatic)
update:
nvchecker source.ini
./update.sh
clean:
rm -rf src pkg *.tar.xz *.gz *.pkg.tar
rm -rf $(VIRTUAL_ENV)
|