Skip to content
Snippets Groups Projects
Commit f9897b6d authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Add new ganeti.build namespace


This will be used to store build-time Python code.

Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent 53a9ecb7
No related branches found
No related tags found
No related merge requests found
...@@ -30,6 +30,7 @@ DIRS = \ ...@@ -30,6 +30,7 @@ DIRS = \
doc/examples \ doc/examples \
doc/examples/hooks \ doc/examples/hooks \
lib \ lib \
lib/build \
lib/http \ lib/http \
lib/hypervisor \ lib/hypervisor \
lib/rapi \ lib/rapi \
...@@ -57,6 +58,7 @@ CLEANFILES = \ ...@@ -57,6 +58,7 @@ CLEANFILES = \
doc/examples/ganeti.cron \ doc/examples/ganeti.cron \
doc/examples/hooks/ipsec \ doc/examples/hooks/ipsec \
lib/*.py[co] \ lib/*.py[co] \
lib/build/*.py[co] \
lib/http/*.py[co] \ lib/http/*.py[co] \
lib/hypervisor/*.py[co] \ lib/hypervisor/*.py[co] \
lib/rapi/*.py[co] \ lib/rapi/*.py[co] \
...@@ -75,6 +77,9 @@ BUILT_SOURCES = \ ...@@ -75,6 +77,9 @@ BUILT_SOURCES = \
nodist_pkgpython_PYTHON = \ nodist_pkgpython_PYTHON = \
lib/_autoconf.py lib/_autoconf.py
noinst_PYTHON = \
lib/build/__init__.py
pkgpython_PYTHON = \ pkgpython_PYTHON = \
lib/__init__.py \ lib/__init__.py \
lib/asyncnotifier.py \ lib/asyncnotifier.py \
...@@ -379,7 +384,7 @@ srclinks: stamp-directories ...@@ -379,7 +384,7 @@ srclinks: stamp-directories
for i in man/footer.sgml $(pkgpython_PYTHON) $(hypervisor_PYTHON) \ for i in man/footer.sgml $(pkgpython_PYTHON) $(hypervisor_PYTHON) \
$(rapi_PYTHON) $(http_PYTHON) $(confd_PYTHON) \ $(rapi_PYTHON) $(http_PYTHON) $(confd_PYTHON) \
$(dist_sbin_SCRIPTS) $(dist_tools_SCRIPTS) \ $(dist_sbin_SCRIPTS) $(dist_tools_SCRIPTS) \
$(dist_TESTS); do \ $(dist_TESTS) $(noinst_PYTHON); do \
if test ! -f $$i -a -f $(abs_top_srcdir)/$$i; then \ if test ! -f $$i -a -f $(abs_top_srcdir)/$$i; then \
$(LN_S) $(abs_top_srcdir)/$$i $$i; \ $(LN_S) $(abs_top_srcdir)/$$i $$i; \
fi; \ fi; \
......
#
#
# Copyright (C) 2009 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.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment