]> git.ipfire.org Git - collecty.git/blame - Makefile
Add license information.
[collecty.git] / Makefile
CommitLineData
a49a4b46
MT
1
2NAME = collecty
3
4DESTDIR =
5PYTHON_VER := $(shell python --version 2>&1 | awk '{ print $$NF }')
6PYTHON_DIR = $(DESTDIR)/usr/lib/python$(PYTHON_VER)/site-packages/$(NAME)/
7
8all:
9
10install:
11 -mkdir -pv $(PYTHON_DIR)
12 cp -rvf collecty $(PYTHON_DIR)
13 install -v -m 755 colletyd $(DESTDIR)/usr/sbin
14
15 -mkdir -pv $(DESTDIR)/var/rrd
16
17 # Install configuration
18 -mkdir -pv $(DESTDIR)/etc/$(NAME)/
19 cp -vf example.conf $(DESTDIR)/etc/$(NAME)/$(NAME).conf