Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Julien Ledoux
lemonldap-ng
Commits
ae361bf8
Commit
ae361bf8
authored
Dec 12, 2017
by
Yadd
Browse files
Better fix for portal installation (#1333)
parent
661a54aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
ae361bf8
...
...
@@ -685,7 +685,7 @@ install_portal_site: install_conf_dir
$(RCRONDIR)
$(RCONFDIR)
@
cp
-pR
-f
$(SRCPORTALDIR)
/site/htdocs/index.
*
$(RPORTALSITEDIR)
@
cp
-pR
-f
$(SRCPORTALDIR)
/site/htdocs/static/
*
$(RPORTALSTATICDIR)
cd
$(SRCPORTALDIR)
/site/templates
;
for
f
in
`
find
*
-type
f
`
;
do
\
@
cd
$(SRCPORTALDIR)
/site/templates
;
for
f
in
`
find
*
-type
f
-name
'*.tpl'
`
;
do
\
echo
"
$$
f =>
$(RPORTALTEMPLATESDIR)
/
$$
f"
;
\
mkdir
-p
$(RPORTALTEMPLATESDIR)
/
`
dirname
$$
f
`
;
\
../../../scripts/transform-templates
\
...
...
@@ -695,7 +695,11 @@ install_portal_site: install_conf_dir
cssminified
$(CSSCOMPRESS)
<
$$
f
\
>
$(RPORTALTEMPLATESDIR)
/
$$
f
;
\
done
;
cd
-
cd
$(SRCPORTALDIR)
/site/templates
;
for
l
in
`
find
*
-type
l
`
;
do
\
@
cd
$(SRCPORTALDIR)
/site/templates
;
for
f
in
`
find
*
-type
f
!
-name
'*.tpl'
`
;
do
\
mkdir
-p
$(RPORTALTEMPLATESDIR)
/
`
dirname
$$
f
`
;
\
install
-v
$$
f
$(RPORTALTEMPLATESDIR)
/
$$
f
;
\
done
;
cd
-
@
cd
$(SRCPORTALDIR)
/site/templates
;
for
l
in
`
find
*
-type
l
`
;
do
\
echo link
to
do
$$
l
`
readlink
$$
l
`
;
\
target
=
`
readlink
$$
l
`
;
\
cd
$(RPORTALTEMPLATESDIR)
;
\
...
...
Write
Preview
Supports
Markdown
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