summaryrefslogtreecommitdiff
path: root/src/Makefile.in
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2008-03-25 18:59:45 +0000
committerBadlop <badlop@process-one.net>2008-03-25 18:59:45 +0000
commit28c082551d38dccb42fe576a611d99f62c75b328 (patch)
treef3941917b17d9523a7f57efc63f051575773dd4b /src/Makefile.in
parent* src/Makefile.in: Failure to install epam is not (diff)
* src/Makefile.in: Only try to install epam if pam was enabled
in configure script (thanks to Etan Reisner)(EJAB-586) SVN Revision: 1256
Diffstat (limited to 'src/Makefile.in')
-rw-r--r--src/Makefile.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 70596536..fc981a4a 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -40,6 +40,11 @@ ifeq (@transient_supervisors@, false)
ERLC_FLAGS+=-DNO_TRANSIENT_SUPERVISORS
endif
+INSTALL_EPAM=
+ifeq (@pam@, pam)
+ INSTALL_EPAM=install -m 750 epam $(PBINDIR)
+endif
+
prefix = @prefix@
SUBDIRS = @mod_irc@ @mod_pubsub@ @mod_muc@ @mod_proxy65@ @eldap@ @pam@ @web@ stringprep @tls@ @odbc@ @ejabberd_zlib@
@@ -104,7 +109,7 @@ install: all
install -d $(SODIR)
install -d $(PBINDIR)
install -m 644 *.so $(SODIR)
- -install -m 750 epam $(PBINDIR)
+ $(INSTALL_EPAM)
install -d $(MSGSDIR)
install -m 644 msgs/*.msg $(MSGSDIR)
install -d $(ETCDIR)