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
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
18c92157
Commit
18c92157
authored
Feb 23, 2017
by
Yadd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Working on install (
#595
)
parent
32616a08
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
7 deletions
+15
-7
Makefile
Makefile
+15
-7
No files found.
Makefile
View file @
18c92157
...
...
@@ -53,7 +53,7 @@ PORTALDIR=$(DOCUMENTROOT)/portal
PORTALSITEDIR
=
$(PORTALDIR)
PORTALSTATICDIR
=
$(PORTALSITEDIR)
/static
PORTALRELATIVESTATICDIR
=
/static
PORTALTEMPLATESDIR
=
$(
MANAGER
SITEDIR)
/templates
PORTALTEMPLATESDIR
=
$(
PORTAL
SITEDIR)
/templates
MANAGERDIR
=
$(DOCUMENTROOT)
/manager
MANAGERSITEDIR
=
$(MANAGERDIR)
...
...
@@ -610,6 +610,7 @@ install_manager_site: install_conf_dir
# Manager install
@
install
-v
-d
$(RMANAGERDIR)
$(RMANAGERSTATICDIR)
\
$(RMANAGERTEMPLATESDIR)
@
cp
-pR
-f
$(SRCMANAGERDIR)
/site/htdocs/manager.
*
$(RMANAGERDIR)
@
cp
-pR
$(SRCMANAGERDIR)
/site/htdocs/static/
*
$(RMANAGERSTATICDIR)
@
for
f
in
$(SRCMANAGERDIR)
/site/templates/
*
.tpl
;
do
\
./scripts/transform-templates
\
...
...
@@ -633,19 +634,26 @@ install_manager_site: install_conf_dir
install_portal_site
:
install_conf_dir
# Portal install
@
install
-v
-d
$(RPORTALDIR)
$(RPORTALSTATICDIR)
\
$(RPORTAL
DIR)
/skins/
\
$(RPORTAL
TEMPLATESDIR)
\
$(RCRONDIR)
$(RCONFDIR)
@
cp
-pR
-f
$(SRCPORTALDIR)
/site/htdocs/index.
*
$(RPORTALDIR)
@
cp
-pR
-f
$(SRCPORTALDIR)
/site/htdocs/static/
*
$(RPORTALSTATICDIR)
@
tar
-cf
-
-C
${SRCPORTALDIR}
/site/templates/
$$
(
ls
${SRCPORTALDIR}
/site/templates/
)
|tar
-xf
-
-C
$(RPORTALTEMPLATESDIR)
@
for
f
in
`
find
$(RPORTALTEMPLATEDIR)
-type
f
-name
'*.tpl'
`
;
do
\
./scripts/transform-templates
\
cd
$(SRCPORTALDIR)
/site/templates
;
for
f
in
`
find
*
-type
f
-name
'*.tpl'
`
;
do
\
echo
"
$$
f =>
$(RPORTALTEMPLATESDIR)
/
$$
f"
;
\
mkdir
-p
$(RPORTALTEMPLATESDIR)
/
`
dirname
$$
f
`
;
\
echo
../../../scripts/transform-templates
\
usedebianlibs
$(USEDEBIANLIBS)
\
useexternallibs
$(USEEXTERNALLIBS)
\
jsminified
$(JSCOMPRESS)
\
cssminified
$(CSSCOMPRESS)
<
$$
f
\
>
$$
f.tmp
;
\
mv
-f
$$
f.tmp
$$
f
;
\
>
$(RPORTALTEMPLATESDIR)
/
$$
f
;
\
done
;
cd
-
cd
$(SRCPORTALDIR)
/site/templates
;
for
l
in
`
find
*
-type
l
`
;
do
\
echo
lien à faire
$$
l
`
readlink
$$
l
`
;
\
target
=
`
readlink
$$
l
`
;
\
cd
$(RPORTALTEMPLATESDIR)
;
\
ln
-s
$$
target
$$
l
;
\
cd
-
;
\
done
@
if
test
"
$(USEEXTERNALLIBS)
"
=
"yes"
;
then
\
rm
-rvf
$(PORTALEXTERNALLIBS)
;
\
...
...
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