]> git.ipfire.org Git - collecty.git/blob - Makefile
Add further documentation.
[collecty.git] / Makefile
1
2 NAME = collecty
3
4 DESTDIR =
5 PYTHON_VER := $(shell python --version 2>&1 | awk '{ print $$NF }')
6 PYTHON_DIR = $(DESTDIR)/usr/lib/python$(PYTHON_VER)/site-packages/$(NAME)/
7
8 all:
9
10 install:
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