vigigraph / Makefile @ ec042411
History | View | Annotate | Download (1.32 KB)
1 | 0931fc44 | Thomas BURGUIERE | NAME := vigigraph |
---|---|---|---|
2 | 2f5d4f00 | Aurelien BOMPARD | |
3 | 0f317fa6 | Aurelien BOMPARD | all: qooxdoo build |
4 | 2f5d4f00 | Aurelien BOMPARD | |
5 | b444f1f7 | Aurelien BOMPARD | include buildenv/Makefile.common |
6 | PKGNAME := $(NAME) |
||
7 | MODULE := $(NAME) |
||
8 | CODEPATH := $(NAME) |
||
9 | 1f21c892 | Aurelien BOMPARD | EPYDOC_PARSE := vigigraph\.controllers |
10 | b444f1f7 | Aurelien BOMPARD | |
11 | eaf8a7bd | Aurelien BOMPARD | qooxdoo: vigigraph/public/js/vigigraph.js |
12 | vigigraph/public/js/vigigraph.js: javascript/source/class/vigigraph/Application.js |
||
13 | 5772efa1 | Francois POIROTTE | make -C javascript build |
14 | cp -f javascript/build/script/vigigraph.js vigigraph/public/js |
||
15 | cp -rf javascript/build/resource vigigraph/public/ |
||
16 | |||
17 | clean_qooxdoo: |
||
18 | $(RM) vigigraph/public/js/vigigraph.js |
||
19 | $(RM) -r vigigraph/public/resource |
||
20 | $(RM) -r javascript/build/ |
||
21 | |||
22 | eaf8a7bd | Aurelien BOMPARD | install: vigigraph/public/js/vigigraph.js |
23 | 0f317fa6 | Aurelien BOMPARD | $(PYTHON) setup.py install --single-version-externally-managed --root=$(DESTDIR) --record=INSTALLED_FILES |
24 | 97b58008 | Aurelien BOMPARD | chmod a+rX -R $(DESTDIR)$(PREFIX)/lib*/python*/* |
25 | # Apache |
||
26 | 0f317fa6 | Aurelien BOMPARD | mkdir -p $(DESTDIR)$(HTTPD_DIR) |
27 | ln -f -s $(SYSCONFDIR)/vigilo/$(NAME)/$(NAME).conf $(DESTDIR)$(HTTPD_DIR)/ |
||
28 | echo $(HTTPD_DIR)/$(NAME).conf >> INSTALLED_FILES |
||
29 | 5f5c1fd6 | Aurelien BOMPARD | mkdir -p $(DESTDIR)/var/log/vigilo/$(NAME) |
30 | db10526c | Aurelien BOMPARD | # Déplacement du app_cfg.py |
31 | mv $(DESTDIR)`grep '$(NAME)/config/app_cfg.py$$' INSTALLED_FILES` $(DESTDIR)$(SYSCONFDIR)/vigilo/$(NAME)/ |
||
32 | ln -s $(SYSCONFDIR)/vigilo/$(NAME)/app_cfg.py $(DESTDIR)`grep '$(NAME)/config/app_cfg.py$$' INSTALLED_FILES` |
||
33 | echo $(SYSCONFDIR)/vigilo/$(NAME)/app_cfg.py >> INSTALLED_FILES |
||
34 | 0f317fa6 | Aurelien BOMPARD | |
35 | 0931fc44 | Thomas BURGUIERE | lint: lint_pylint |
36 | 4c964d96 | Aurelien BOMPARD | tests: tests_nose |
37 | 5772efa1 | Francois POIROTTE | clean: clean_python clean_qooxdoo |