Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
LemonLDAP NG
lemonldap-ng
Commits
f38a507d
Commit
f38a507d
authored
Mar 11, 2010
by
Clément OUDOT
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makefile: do not install Liberty Alliance portal by default
parent
7960a4d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
6 deletions
+16
-6
build/lemonldap-ng/Makefile
build/lemonldap-ng/Makefile
+16
-6
No files found.
build/lemonldap-ng/Makefile
View file @
f38a507d
...
...
@@ -31,8 +31,6 @@ PORTALDIR=$(DOCUMENTROOT)/portal
RPORTALDIR
=
$(DESTDIR)
/
$(PORTALDIR)
PORTALSKINSDIR
=
$(PORTALDIR)
/skins
RPORTALSKINSDIR
=
$(DESTDIR)
/
$(PORTALSKINSDIR)
LASPPORTALDIR
=
$(DOCUMENTROOT)
/liberty-alliance-sp-portal
RLASPPORTALDIR
=
$(DESTDIR)
/
$(LASPPORTALDIR)
MANAGERDIR
=
$(DOCUMENTROOT)
/manager
RMANAGERDIR
=
$(DESTDIR)
/
$(MANAGERDIR)
MANAGERSKINSDIR
=
$(MANAGERDIR)
/skins
...
...
@@ -95,6 +93,11 @@ SRCMANAGERDIR=lemonldap-ng-manager
EXAMPLELANG
=
en
# For static Manager example only
ERASECONFIG
=
1
# Set to 0 if you do not want to replace your configuration
# Liberty Alliance support
WITHLA
=
0
# Set to 1 if you want to install Liberty Alliance portal
(
deprecated by SAML2 support
)
LASPPORTALDIR
=
$(DOCUMENTROOT)
/liberty-alliance-sp-portal
RLASPPORTALDIR
=
$(DESTDIR)
/
$(LASPPORTALDIR)
all
:
configure common handler manager portal
@
echo
@
echo
"Building succeed. Now run :"
...
...
@@ -299,8 +302,11 @@ install_manager_site: install_conf_dir
install_portal_site
:
install_conf_dir
# Portal install
@
install
-v
-d
$(RPORTALDIR)
$(RPORTALSKINSDIR)
\
$(RPORTALDIR)
/skins/
$(RLASPPORTALDIR)
\
$(RPORTALDIR)
/skins/
\
$(RCRONDIR)
$(RCONFDIR)
@
if
[
"
$(WITHLA)
"
-eq
"1"
]
;
then
\
install
-v
-d
$(RLASPPORTALDIR)
;
\
fi
@
for
skin
in
$$
(
ls
lemonldap-ng-portal/example/skins/
)
;
do
\
[
-h
$(RPORTALDIR)
/skins/
$$
skin
]
&&
rm
-f
$(RPORTALDIR)
/skins/
$$
skin
;
\
install
-v
-d
$(RPORTALSKINSDIR)
/
$$
skin
;
\
...
...
@@ -318,8 +324,10 @@ install_portal_site: install_conf_dir
done
;
\
fi
# L-A portal install
@
cp
-pR
--remove-destination
${SRCPORTALDIR}
/example/AuthLA/
*
$(RLASPPORTALDIR)
@
$(PERL)
-i
-pe
's#__DIR__#
$(LASPPORTALDIR)
/#g'
$(RLASPPORTALDIR)
/index.pl
@
if
[
"
$(WITHLA)
"
-eq
"1"
]
;
then
\
cp
-pR
--remove-destination
${SRCPORTALDIR}
/example/AuthLA/
*
$(RLASPPORTALDIR)
;
\
$(PERL)
-i
-pe
's#__DIR__#
$(LASPPORTALDIR)
/#g'
$(RLASPPORTALDIR)
/index.pl
;
\
fi
# Cron files
@
cp
--remove-destination
lemonldap-ng-portal/example/scripts/purgeCentralCache.cron.d
$(RCRONDIR)
/lemonldap-ng
@
if
[
!
"
$(APACHEUSER)
"
]
;
then
\
...
...
@@ -355,7 +363,9 @@ install_examples_site:
$(REXAMPLESDIR)
/manager/skins
\
$(REXAMPLESDIR)
/manager/images
\
@rm
-rf
$$
(
find
$(REXAMPLESDIR)
-type
d
-name
.svn
)
@
$(PERL)
-i
-pe
's#__DIR__#
$(LASPPORTALDIR)
#g'
$(REXAMPLESDIR)
/portal/AuthLA/index.pl
@
if
[
"
$(WITHLA)
"
-eq
"1"
]
;
then
\
$(PERL)
-i
-pe
's#__DIR__#
$(LASPPORTALDIR)
#g'
$(REXAMPLESDIR)
/portal/AuthLA/index.pl
;
\
fi
@
$(PERL)
-i
-pe
's#__SESSIONDIR__#
$(APACHESESSIONFILEDIR)
/#g;'
$(REXAMPLESDIR)
/portal/
*
.pl
install_doc_site
:
...
...
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