Blob Blame History Raw
From 9fd1fc4302b10e2b064cfb92484a29c75493cc91 Mon Sep 17 00:00:00 2001
From: Peter Lemenkov <lemenkov@gmail.com>
Date: Sat, 12 Jun 2010 16:12:11 +0400
Subject: [PATCH 9/9] 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 c9492f3..7b585d0 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -92,7 +92,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.2