Commit a917de71 authored by Xavier Guimard's avatar Xavier Guimard

Start "install_manager_site" adaptation

parent 70a05917
...@@ -36,6 +36,12 @@ MANAGERDIR=$(DOCUMENTROOT)/manager ...@@ -36,6 +36,12 @@ MANAGERDIR=$(DOCUMENTROOT)/manager
RMANAGERDIR=$(DESTDIR)/$(MANAGERDIR) RMANAGERDIR=$(DESTDIR)/$(MANAGERDIR)
MANAGERSITEDIR=$(MANAGERDIR)/site MANAGERSITEDIR=$(MANAGERDIR)/site
RMANAGERSITEDIR=$(DESTDIR)/$(MANAGERSITEDIR) RMANAGERSITEDIR=$(DESTDIR)/$(MANAGERSITEDIR)
MANAGERSTATICDIR=$(MANAGERSITEDIR)/static
RMANAGERSTATICDIR=$(DESTDIR)/$(MANAGERSTATICDIR)
MANAGERPSGIDIR=$(MANAGERSITEDIR)/psgi
RMANAGERPSGIDIR=$(DESTDIR)/$(MANAGERPSGIDIR)
MANAGERTEMPLATESDIR=$(MANAGERSITEDIR)/templates
RMANAGERTEMPLATESDIR=$(DESTDIR)/$(MANAGERTEMPLATESDIR)
DOCDIR=$(DOCUMENTROOT) DOCDIR=$(DOCUMENTROOT)
RDOCDIR=$(DESTDIR)/$(DOCDIR) RDOCDIR=$(DESTDIR)/$(DOCDIR)
DEFDOCDIR=$(DOCUMENTROOT)/doc DEFDOCDIR=$(DOCUMENTROOT)/doc
...@@ -314,12 +320,14 @@ install_site: install_manager_site install_portal_site install_handler_site inst ...@@ -314,12 +320,14 @@ install_site: install_manager_site install_portal_site install_handler_site inst
install_manager_site: install_conf_dir install_manager_site: install_conf_dir
# Manager install # Manager install
@install -v -d ${RMANAGERDIR} ${RMANAGERSITEDIR} \ @install -v -d ${RMANAGERDIR} $(RMANAGERSTATICDIR) $(RMANAGERPSGIDIR) \
$(RCONFDIR) ${RMANAGERDIR} $(RMANAGERTEMPLATESDIR)
@$(PERL) -i -pe 's/__DNSDOMAIN__/$(DNSDOMAIN)/g' $(RCONFDIR)/$(CONFFILENAME) @cp -pR $(SRCMANAGERDIR)/site/static/* $(RMANAGERSTATICDIR)
# Sessions explorer and notifications explorer install @cp -pR $(SRCMANAGERDIR)/site/templates/* $(RMANAGERTEMPLATESDIR)
@rm -rf $$(find ${RMANAGERDIR} ${RMANAGERSITEDIR} \ @cp -pR $(SRCMANAGERDIR)/eg/* $(RMANAGERPSGIDIR)
$(RCONFDIR) -type d -name .svn) # Clean svn files
@rm -rf $$(find ${RMANAGERDIR} ${RMANAGERSTATICDIR} $(RMANAGERPSGIDIR) \
$(RMANAGERTEMPLATESDIR) $(RCONFDIR) -type d -name .svn)
install_portal_site: install_conf_dir install_portal_site: install_conf_dir
# Portal install # Portal install
...@@ -416,6 +424,7 @@ install_conf_dir: install_sessions_dir install_notif_dir install_captcha_dir ...@@ -416,6 +424,7 @@ install_conf_dir: install_sessions_dir install_notif_dir install_captcha_dir
fi fi
@cp lemonldap-ng-common/tools/lmConfig.* lemonldap-ng-common/tools/apache-session-mysql.sql $(RTOOLSDIR) @cp lemonldap-ng-common/tools/lmConfig.* lemonldap-ng-common/tools/apache-session-mysql.sql $(RTOOLSDIR)
@cp lemonldap-ng-common/tools/sso.schema $(RTOOLSDIR) @cp lemonldap-ng-common/tools/sso.schema $(RTOOLSDIR)
$(PERL) -i -pe 's/__DNSDOMAIN__/$(DNSDOMAIN)/g' $(RCONFDIR)/$(CONFFILENAME)
@rm -rf $$(find $(RCONFDIR) $(RFILECONFIGDIR) $(RTOOLSDIR) -type d -name .svn) @rm -rf $$(find $(RCONFDIR) $(RFILECONFIGDIR) $(RTOOLSDIR) -type d -name .svn)
install_sessions_dir: install_sessions_dir:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment