diff --git a/Makefile.am b/Makefile.am index 44f3ce2fad89aa06a554fe7a0e7b319a55eb0a26..072ebc4afaf1c49b6b380f5afea56e71d22fff66 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,6 +23,7 @@ httpdir = $(pkgpythondir)/http masterddir = $(pkgpythondir)/masterd confddir = $(pkgpythondir)/confd rapidir = $(pkgpythondir)/rapi +serverdir = $(pkgpythondir)/server watcherdir = $(pkgpythondir)/watcher impexpddir = $(pkgpythondir)/impexpd toolsdir = $(pkglibdir)/tools @@ -48,6 +49,7 @@ DIRS = \ lib/impexpd \ lib/masterd \ lib/rapi \ + lib/server \ lib/watcher \ man \ qa \ @@ -193,6 +195,9 @@ impexpd_PYTHON = \ watcher_PYTHON = \ lib/watcher/__init__.py +server_PYTHON = \ + lib/server/__init__.py + docrst = \ doc/admin.rst \ doc/design-2.0.rst \ @@ -469,6 +474,7 @@ all_python_code = \ $(client_PYTHON) \ $(hypervisor_PYTHON) \ $(rapi_PYTHON) \ + $(server_PYTHON) \ $(http_PYTHON) \ $(confd_PYTHON) \ $(masterd_PYTHON) \ @@ -640,6 +646,7 @@ $(REPLACE_VARS_SED): Makefile } > $@ # Using deferred evaluation +daemons/ganeti-%: MODULE = ganeti.server.$(patsubst ganeti-%,%,$(notdir $@)) daemons/ganeti-watcher: MODULE = ganeti.watcher scripts/%: MODULE = ganeti.client.$(subst -,_,$(notdir $@)) diff --git a/lib/server/__init__.py b/lib/server/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..aee6aa0c40f7b1dae0eb50ffec6c2d5142acdb6e --- /dev/null +++ b/lib/server/__init__.py @@ -0,0 +1,24 @@ +# +# + +# Copyright (C) 2010 Google Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301, USA. + + +"""Empty file for package definition. + +"""