Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

vigigraph / Makefile @ 77db889c

History | View | Annotate | Download (923 Bytes)

1
NAME := vigigraph
2

    
3
all: qooxdoo build
4

    
5
qooxdoo: vigigraph/public/js/vigigraph.js
6
vigigraph/public/js/vigigraph.js: javascript/source/class/vigigraph/Application.js
7
	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
install: vigigraph/public/js/vigigraph.js
17
	$(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
	mkdir -p $(DESTDIR)/var/log/vigilo/$(NAME)
22

    
23
include buildenv/Makefile.common
24

    
25
MODULE := $(NAME)
26
CODEPATH := $(NAME)
27
lint: lint_pylint
28
tests: tests_nose
29
clean: clean_python clean_qooxdoo