Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 7f1868553cf1a8b545b15db6d6ec9eb4 > files > 7

ejabberd-2.1.6-4.fc15.src.rpm

From 3e1eeccdfdd315c4e660e48098cb3a8c8802f75c Mon Sep 17 00:00:00 2001
From: Peter Lemenkov <lemenkov@gmail.com>
Date: Sat, 12 Jun 2010 16:12:11 +0400
Subject: [PATCH 07/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 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Makefile.in b/src/Makefile.in
index ef8a55e..d15739c 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.4.1