Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 1b95dae9c6d5d53dc96c43c3ccc9e83e > files > 6

ejabberd-2.1.11-8.mga3.src.rpm

From 889d68a28b4442cf71e8c4ad335a98718402f4a5 Mon Sep 17 00:00:00 2001
From: Peter Lemenkov <lemenkov@gmail.com>
Date: Sat, 12 Jun 2010 16:12:11 +0400
Subject: [PATCH 06/11] Use versioned directory for storing docs

It's also a good idea to store doc-files under the versioned directory.
This may greatly simplify parallel installation of different versions of
ejabbed.

Note that this may be done in the other way - by changing proper field
in the AC_INIT macro, see the explanation of the field 'tarname':

http://www.gnu.org/software/autoconf/manual/html_node/Initializing-configure.html

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
---
 src/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Makefile.in b/src/Makefile.in
index 64ed856..43b5e1f 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -98,7 +98,7 @@ SBINDIR = $(DESTDIR)@sbindir@
 EJABBERDDIR = $(DESTDIR)@libdir@/ejabberd
 
 # /share/doc/ejabberd
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@-@PACKAGE_VERSION@
 datarootdir = @datarootdir@
 DOCDIR = $(DESTDIR)@docdir@
 
-- 
1.7.11.5