Revision 3ba7282b
uniformisation des makefiles pour faciliter l'install depuis les sources
git-svn-id: https://vigilo-dev.si.c-s.fr/svn@6677 b22e2e97-25c9-44ff-b637-2e5ceca36478
Makefile | ||
---|---|---|
1 | 1 |
NAME := vigigraph |
2 |
QOOXDOO_VER := 0.7.3 |
|
3 | 2 |
|
4 | 3 |
all: build |
5 | 4 |
|
... | ... | |
8 | 7 |
CODEPATH := $(NAME) |
9 | 8 |
EPYDOC_PARSE := vigigraph\.controllers |
10 | 9 |
|
11 |
install: $(PYTHON) |
|
10 |
install: install_python install_data install_permissions |
|
11 |
install_pkg: install_python_pkg install_data |
|
12 |
|
|
13 |
install_python: $(PYTHON) |
|
14 |
$(PYTHON) setup.py install --root=$(DESTDIR) --record=INSTALLED_FILES |
|
15 |
install_python_pkg: $(PYTHON) |
|
12 | 16 |
$(PYTHON) setup.py install --single-version-externally-managed --root=$(DESTDIR) --record=INSTALLED_FILES |
13 |
chmod a+rX -R $(DESTDIR)$(PREFIX)/lib*/python*/* |
|
17 |
|
|
18 |
install_data: deployment/logrotate.conf |
|
14 | 19 |
# Permissions de la conf |
15 | 20 |
chmod a+rX -R $(DESTDIR)$(SYSCONFDIR)/vigilo/$(NAME) |
16 | 21 |
[ `id -u` -ne 0 ] || chgrp $(HTTPD_USER) $(DESTDIR)$(SYSCONFDIR)/vigilo/$(NAME)/*.ini |
... | ... | |
33 | 38 |
lint: lint_pylint |
34 | 39 |
tests: tests_nose |
35 | 40 |
clean: clean_python |
41 |
|
|
42 |
.PHONY: install_pkg install_python install_python_pkg install_data |
Also available in: Unified diff