[libvirt] [PATCH] python: Fix doc directory name for stable releases

Cole Robinson crobinso at redhat.com
Fri Apr 27 16:59:47 UTC 2012


We were using the libvirt release version (like 0.9.11) and not
the configure version (which for stable releases is 0.9.11.X)

Most other places got this right so hopefully that's all the fallout
from the version format change :)

Signed-off-by: Cole Robinson <crobinso at redhat.com>
---
 python/Makefile.am       |    2 +-
 python/tests/Makefile.am |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/python/Makefile.am b/python/Makefile.am
index 0305bcc..02b59eb 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -18,7 +18,7 @@ INCLUDES = \
 
 AM_CFLAGS = $(WARN_CFLAGS)
 
-DOCS_DIR = $(datadir)/doc/libvirt-python-$(LIBVIRT_VERSION)
+DOCS_DIR = $(datadir)/doc/libvirt-python-$(VERSION)
 
 DOCS = ${srcdir}/TODO
 
diff --git a/python/tests/Makefile.am b/python/tests/Makefile.am
index 2a5bc62..c387825 100644
--- a/python/tests/Makefile.am
+++ b/python/tests/Makefile.am
@@ -1,7 +1,7 @@
 ## Copyright (C) 2005-2011 Red Hat, Inc.
 ## See COPYING.LIB for the License of this software
 
-EXAMPLE_DIR = $(datadir)/doc/libvirt-python-$(LIBVIRT_VERSION)/examples
+EXAMPLE_DIR = $(datadir)/doc/libvirt-python-$(VERSION)/examples
 
 PYTESTS=		\
 	basic.py	\
-- 
1.7.7.6




More information about the libvir-list mailing list