Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
lemonldap-ng
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
258
Issues
258
List
Boards
Labels
Service Desk
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LemonLDAP NG
lemonldap-ng
Commits
a917de71
Commit
a917de71
authored
May 18, 2015
by
Yadd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Start "install_manager_site" adaptation
parent
70a05917
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
+15
-6
Makefile
Makefile
+15
-6
No files found.
Makefile
View file @
a917de71
...
...
@@ -36,6 +36,12 @@ MANAGERDIR=$(DOCUMENTROOT)/manager
RMANAGERDIR
=
$(DESTDIR)
/
$(MANAGERDIR)
MANAGERSITEDIR
=
$(MANAGERDIR)
/site
RMANAGERSITEDIR
=
$(DESTDIR)
/
$(MANAGERSITEDIR)
MANAGERSTATICDIR
=
$(MANAGERSITEDIR)
/static
RMANAGERSTATICDIR
=
$(DESTDIR)
/
$(MANAGERSTATICDIR)
MANAGERPSGIDIR
=
$(MANAGERSITEDIR)
/psgi
RMANAGERPSGIDIR
=
$(DESTDIR)
/
$(MANAGERPSGIDIR)
MANAGERTEMPLATESDIR
=
$(MANAGERSITEDIR)
/templates
RMANAGERTEMPLATESDIR
=
$(DESTDIR)
/
$(MANAGERTEMPLATESDIR)
DOCDIR
=
$(DOCUMENTROOT)
RDOCDIR
=
$(DESTDIR)
/
$(DOCDIR)
DEFDOCDIR
=
$(DOCUMENTROOT)
/doc
...
...
@@ -314,12 +320,14 @@ install_site: install_manager_site install_portal_site install_handler_site inst
install_manager_site
:
install_conf_dir
# Manager install
@
install
-v
-d
${RMANAGERDIR}
${RMANAGERSITEDIR}
\
$(RCONFDIR)
${RMANAGERDIR}
@
$(PERL)
-i
-pe
's/__DNSDOMAIN__/
$(DNSDOMAIN)
/g'
$(RCONFDIR)
/
$(CONFFILENAME)
# Sessions explorer and notifications explorer install
@
rm
-rf
$$
(
find
${RMANAGERDIR}
${RMANAGERSITEDIR}
\
$(RCONFDIR)
-type
d
-name
.svn
)
@
install
-v
-d
${RMANAGERDIR}
$(RMANAGERSTATICDIR)
$(RMANAGERPSGIDIR)
\
$(RMANAGERTEMPLATESDIR)
@
cp
-pR
$(SRCMANAGERDIR)
/site/static/
*
$(RMANAGERSTATICDIR)
@
cp
-pR
$(SRCMANAGERDIR)
/site/templates/
*
$(RMANAGERTEMPLATESDIR)
@
cp
-pR
$(SRCMANAGERDIR)
/eg/
*
$(RMANAGERPSGIDIR)
# Clean svn files
@
rm
-rf
$$
(
find
${RMANAGERDIR}
${RMANAGERSTATICDIR}
$(RMANAGERPSGIDIR)
\
$(RMANAGERTEMPLATESDIR)
$(RCONFDIR)
-type
d
-name
.svn
)
install_portal_site
:
install_conf_dir
# Portal install
...
...
@@ -416,6 +424,7 @@ install_conf_dir: install_sessions_dir install_notif_dir install_captcha_dir
fi
@
cp
lemonldap-ng-common/tools/lmConfig.
*
lemonldap-ng-common/tools/apache-session-mysql.sql
$(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
)
install_sessions_dir
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment