Revision f913c9d3
déplacement des fichiers cache de sessions
git-svn-id: https://vigilo-dev.si.c-s.fr/svn@4103 b22e2e97-25c9-44ff-b637-2e5ceca36478
Makefile | ||
---|---|---|
1 | 1 |
NAME := vigiboard |
2 | 2 |
all: build |
3 | 3 |
|
4 |
install: |
|
4 |
install: install_files install_permissions |
|
5 |
|
|
6 |
install_files: |
|
5 | 7 |
$(PYTHON) setup.py install --single-version-externally-managed --root=$(DESTDIR) --record=INSTALLED_FILES |
6 | 8 |
mkdir -p $(DESTDIR)$(HTTPD_DIR) |
7 | 9 |
ln -f -s $(SYSCONFDIR)/vigilo/$(NAME)/$(NAME).conf $(DESTDIR)$(HTTPD_DIR)/ |
... | ... | |
11 | 13 |
mv $(DESTDIR)`grep '$(NAME)/config/app_cfg.py$$' INSTALLED_FILES` $(DESTDIR)$(SYSCONFDIR)/vigilo/$(NAME)/ |
12 | 14 |
ln -s $(SYSCONFDIR)/vigilo/$(NAME)/app_cfg.py $(DESTDIR)`grep '$(NAME)/config/app_cfg.py$$' INSTALLED_FILES` |
13 | 15 |
echo $(SYSCONFDIR)/vigilo/$(NAME)/app_cfg.py >> INSTALLED_FILES |
16 |
mkdir -p $(DESTDIR)/var/cache/vigilo/sessions |
|
17 |
|
|
18 |
install_permissions: |
|
19 |
chmod 750 $(DESTDIR)/var/cache/vigilo/sessions |
|
20 |
chown apache: $(DESTDIR)/var/cache/vigilo/sessions |
|
14 | 21 |
|
15 | 22 |
include buildenv/Makefile.common |
16 | 23 |
|
Also available in: Unified diff