vigiboard / Makefile @ 1a1e8c17
History | View | Annotate | Download (792 Bytes)
1 |
NAME := vigiboard |
---|---|
2 |
all: build |
3 |
|
4 |
install: |
5 |
$(PYTHON) setup.py install --single-version-externally-managed --root=$(DESTDIR) --record=INSTALLED_FILES |
6 |
mkdir -p $(DESTDIR)$(HTTPD_DIR) |
7 |
ln -f -s $(SYSCONFDIR)/vigilo/$(NAME)/$(NAME).conf $(DESTDIR)$(HTTPD_DIR)/ |
8 |
echo $(HTTPD_DIR)/$(NAME).conf >> INSTALLED_FILES |
9 |
mkdir -p $(DESTDIR)/var/log/vigilo/$(NAME) |
10 |
# Déplacement du app_cfg.py |
11 |
mv $(DESTDIR)`grep '$(NAME)/config/app_cfg.py$$' INSTALLED_FILES` $(DESTDIR)$(SYSCONFDIR)/vigilo/$(NAME)/ |
12 |
ln -s $(SYSCONFDIR)/vigilo/$(NAME)/app_cfg.py $(DESTDIR)`grep '$(NAME)/config/app_cfg.py$$' INSTALLED_FILES` |
13 |
echo $(SYSCONFDIR)/vigilo/$(NAME)/app_cfg.py >> INSTALLED_FILES |
14 |
|
15 |
include buildenv/Makefile.common |
16 |
|
17 |
MODULE := $(NAME) |
18 |
CODEPATH := $(NAME) |
19 |
|
20 |
lint: lint_pylint |
21 |
tests: tests_nose |
22 |
clean: clean_python |