vigiboard / Makefile @ 1a1e8c17
History | View | Annotate | Download (792 Bytes)
1 | d7540235 | Aurelien BOMPARD | NAME := vigiboard |
---|---|---|---|
2 | 536ea51c | Aurelien BOMPARD | all: build |
3 | |||
4 | a43ec272 | Aurelien BOMPARD | install: |
5 | $(PYTHON) setup.py install --single-version-externally-managed --root=$(DESTDIR) --record=INSTALLED_FILES |
||
6 | mkdir -p $(DESTDIR)$(HTTPD_DIR) |
||
7 | 88f37dd7 | Aurelien BOMPARD | ln -f -s $(SYSCONFDIR)/vigilo/$(NAME)/$(NAME).conf $(DESTDIR)$(HTTPD_DIR)/ |
8 | echo $(HTTPD_DIR)/$(NAME).conf >> INSTALLED_FILES |
||
9 | 4a156063 | Aurelien BOMPARD | mkdir -p $(DESTDIR)/var/log/vigilo/$(NAME) |
10 | 88f37dd7 | Aurelien BOMPARD | # 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 | a43ec272 | Aurelien BOMPARD | |
15 | e492d895 | Aurelien BOMPARD | include buildenv/Makefile.common |
16 | 858d88aa | Francois POIROTTE | |
17 | MODULE := $(NAME) |
||
18 | CODEPATH := $(NAME) |
||
19 | |||
20 | d7540235 | Aurelien BOMPARD | lint: lint_pylint |
21 | c6e2f817 | Aurelien BOMPARD | tests: tests_nose |
22 | 536ea51c | Aurelien BOMPARD | clean: clean_python |