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
257
Issues
257
List
Boards
Labels
Service Desk
Milestones
Merge Requests
4
Merge Requests
4
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
91be9558
Commit
91be9558
authored
Jun 10, 2015
by
Yadd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace __MGR__ variables
parent
ecea942f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
Makefile
Makefile
+5
-2
No files found.
Makefile
View file @
91be9558
...
...
@@ -34,10 +34,11 @@ PORTALSKINSDIR=$(PORTALDIR)/skins
RPORTALSKINSDIR
=
$(DESTDIR)
/
$(PORTALSKINSDIR)
MANAGERDIR
=
$(DOCUMENTROOT)
/manager
RMANAGERDIR
=
$(DESTDIR)
/
$(MANAGERDIR)
MANAGERSITEDIR
=
$(MANAGERDIR)
/site
MANAGERSITEDIR
=
$(MANAGERDIR)
RMANAGERSITEDIR
=
$(DESTDIR)
/
$(MANAGERSITEDIR)
MANAGERSTATICDIR
=
$(MANAGERSITEDIR)
/static
RMANAGERSTATICDIR
=
$(DESTDIR)
/
$(MANAGERSTATICDIR)
MANAGERRELATIVESTATICDIR
=
/static
MANAGERPSGIDIR
=
$(MANAGERSITEDIR)
/psgi
RMANAGERPSGIDIR
=
$(DESTDIR)
/
$(MANAGERPSGIDIR)
MANAGERTEMPLATESDIR
=
$(MANAGERSITEDIR)
/templates
...
...
@@ -281,6 +282,8 @@ install_site: install_manager_site install_portal_site install_handler_site inst
@
$(PERL)
-i
-pe
's/__DNSDOMAIN__/
$(DNSDOMAIN)
/g; \
s#__PORTALDIR__#
$(PORTALDIR)
/#g; \
s#__MANAGERDIR__#
$(MANAGERDIR)
/#g; \
s#__MANAGERSTATICDIR__#
$(MANAGERSTATICDIR)
/#g; \
s#__MANAGERPSGIDIR__#
$(MANAGERPSGIDIR)
/#g; \
s#__TESTDIR__#
$(TESTDIR)
/#g; \
s#__VHOSTLISTEN__#
$(VHOSTLISTEN)
#g; \
s#__DEFDOCDIR__#
$(DEFDOCDIR)
/#g; \
...
...
@@ -329,7 +332,7 @@ install_manager_site: install_conf_dir
# Clean svn files
@
rm
-rf
$$
(
find
${RMANAGERDIR}
${RMANAGERSTATICDIR}
$(RMANAGERPSGIDIR)
\
$(RMANAGERTEMPLATESDIR)
$(RCONFDIR)
-type
d
-name
.svn
)
$(PERL)
-i
-pe
's#__MANAGERSTATICDIR__#
$(MANAGERSTATICDIR)
#g'
$(RCONFDIR)
/
$(CONFFILENAME)
$(PERL)
-i
-pe
's#__MANAGERSTATICDIR__#
$(MANAGER
RELATIVE
STATICDIR)
#g'
$(RCONFDIR)
/
$(CONFFILENAME)
$(PERL)
-i
-pe
's#__MANAGERTEMPLATESDIR__#
$(MANAGERTEMPLATESDIR)
#g'
$(RCONFDIR)
/
$(CONFFILENAME)
install_portal_site
:
install_conf_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