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