summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-02-21 22:22:24 +0000
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-02-21 22:22:24 +0000
commit3fb8a8323374167da5594a933e1573ac3f94e72c (patch)
treeaed17ee9ed650553b02a9f30ba2dd90869f5c4ff
parente765e9e33860e7659e1b27534f2f78bd632fa5e0 (diff)
downloadpykolab-3fb8a8323374167da5594a933e1573ac3f94e72c.tar.gz
Update makefiles
-rw-r--r--Makefile.am17
-rw-r--r--conf/Makefile.am3
-rw-r--r--kolab/Makefile.am2
-rw-r--r--kolabd/Makefile.am2
-rw-r--r--pykolab/Makefile.am20
5 files changed, 27 insertions, 17 deletions
diff --git a/Makefile.am b/Makefile.am
index 4747210..bfd7f25 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,7 +9,12 @@ INTLTOOL_FILES = \
intltool-update.in
PYTHON_FILES = \
- cyruslib.py
+ cyruslib.py \
+ conf.py \
+ kolab.py \
+ kolabd.py \
+ kolabtest.py \
+ setup-kolab.py
EXTRA_DIST = \
AUTHORS \
@@ -39,7 +44,9 @@ srpm: ChangeLog dist
execdir = $(sbindir)
install-exec-local:
- mkdir -p $(DESTDIR)/$(sbindir) $(DISTDIR)/$(bindir)
- $(INSTALL) -p -m 755 pykolab.py $(DESTDIR)/$(sbindir)/pykolab
- pushd $(DESTDIR)$(bindir);$(LN_S) consolehelper pykolab;popd
-
+ mkdir -p $(DESTDIR)/$(sbindir) $(DESTDIR)/$(bindir)
+ $(INSTALL) -p -m 755 conf.py $(DESTDIR)/$(sbindir)/kolab-conf
+ $(INSTALL) -p -m 755 kolab.py $(DESTDIR)/$(sbindir)/kolab
+ $(INSTALL) -p -m 755 kolabd.py $(DESTDIR)/$(sbindir)/kolabd
+ $(INSTALL) -p -m 755 kolabtest.py $(DESTDIR)/$(bindir)/kolab-test
+ $(INSTALL) -p -m 644 cyruslib.py $(DESTDIR)/$(datadir)/$(PACKAGE)/
diff --git a/conf/Makefile.am b/conf/Makefile.am
index 67a31d8..f8883e7 100644
--- a/conf/Makefile.am
+++ b/conf/Makefile.am
@@ -1,3 +1,6 @@
+EXTRA_DIST = \
+ kolab.conf
+
confdir = $(sysconfdir)/kolab
conf_DATA = \
kolab.conf
diff --git a/kolab/Makefile.am b/kolab/Makefile.am
index de99da7..0e30cc8 100644
--- a/kolab/Makefile.am
+++ b/kolab/Makefile.am
@@ -1,2 +1,2 @@
-kolabdir = $(datadir)/$(package)/kolab
+kolabdir = $(datadir)/$(PACKAGE)/kolab
kolab_PYTHON = $(wildcard *.py)
diff --git a/kolabd/Makefile.am b/kolabd/Makefile.am
index 0c888f8..752cb3a 100644
--- a/kolabd/Makefile.am
+++ b/kolabd/Makefile.am
@@ -1,2 +1,2 @@
-kolabddir = $(datadir)/$(package)/kolabd
+kolabddir = $(datadir)/$(PACKAGE)/kolabd
kolabd_PYTHON = $(wildcard *.py)
diff --git a/pykolab/Makefile.am b/pykolab/Makefile.am
index 1293b6c..bdb024a 100644
--- a/pykolab/Makefile.am
+++ b/pykolab/Makefile.am
@@ -1,39 +1,39 @@
-pykolabdir = $(datadir)/$(package)
+pykolabdir = $(datadir)/$(PACKAGE)
pykolab_PYTHON = $(wildcard *.py)
-pykolab_authdir = $(datadir)/$(package)/auth
+pykolab_authdir = $(datadir)/$(PACKAGE)/auth
pykolab_auth_PYTHON = \
auth/__init__.py
-pykolab_auth_ldapdir = $(datadir)/$(package)/auth/ldap
+pykolab_auth_ldapdir = $(datadir)/$(PACKAGE)/auth/ldap
pykolab_auth_ldap_PYTHON = \
auth/ldap/__init__.py
-pykolab_clidir = $(datadir)/$(package)/cli
+pykolab_clidir = $(datadir)/$(PACKAGE)/cli
pykolab_cli_PYTHON = \
cli/__init__.py
-pykolab_imapdir = $(datadir)/$(package)/imap
+pykolab_imapdir = $(datadir)/$(PACKAGE)/imap
pykolab_imap_PYTHON = \
imap/__init__.py
-pykolab_plugindir = $(datadir)/$(package)/plugin
+pykolab_plugindir = $(datadir)/$(PACKAGE)/plugin
pykolab_plugin_PYTHON = \
plugin/__init__.py
-pykolab_plugin_defaultfoldersdir = $(datadir)/$(package)/plugin/defaultfolders
+pykolab_plugin_defaultfoldersdir = $(datadir)/$(PACKAGE)/plugin/defaultfolders
pykolab_plugin_defaultfolders_PYTHON = \
plugin/defaultfolders/__init__.py
-pykolab_plugin_dynamicquotadir = $(datadir)/$(package)/plugin/dynamicquota
+pykolab_plugin_dynamicquotadir = $(datadir)/$(PACKAGE)/plugin/dynamicquota
pykolab_plugin_dynamicquota_PYTHON = \
plugin/dynamicquota/__init__.py
-pykolab_plugin_recipientpolicydir = $(datadir)/$(package)/plugin/recipientpolicy
+pykolab_plugin_recipientpolicydir = $(datadir)/$(PACKAGE)/plugin/recipientpolicy
pykolab_plugin_recipientpolicy_PYTHON = \
plugin/recipientpolicy/__init__.py
-pykolab_setupdir = $(datadir)/$(package)/setup
+pykolab_setupdir = $(datadir)/$(PACKAGE)/setup
pykolab_setup_PYTHON = \
setup/imap.py \
setup/__init__.py \