[stgt] [PATCH] Append -$(VERSION) to docdir, to match what RPM installs expect

Florian Haas florian.haas at linbit.com
Tue Sep 8 11:18:59 CEST 2009


---
 tgt.spec     |    1 -
 usr/Makefile |    2 +-
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/tgt.spec b/tgt.spec
index f29a457..a4104c9 100644
--- a/tgt.spec
+++ b/tgt.spec
@@ -75,7 +75,6 @@ fi
 %{_sbindir}/tgtimg
 %{_sbindir}/tgt-admin
 %{_sbindir}/tgt-setup-lun
-%{_docdir}/%{name}/*
 %{_mandir}/man8/*
 %{_initrddir}/tgtd
 %attr(0600,root,root) %config(noreplace) /etc/sysconfig/tgtd
diff --git a/usr/Makefile b/usr/Makefile
index 05382da..8fe204f 100644
--- a/usr/Makefile
+++ b/usr/Makefile
@@ -2,7 +2,7 @@ VERSION = 0.9.8
 EXTRAVERSION = $(if $(shell git-show-ref 2>/dev/null),-git-$(shell git-show-ref --head --abbrev|head -1|awk '{print $$1}'))
 
 mandir = /usr/share/man
-docdir = /usr/share/doc/tgt
+docdir = /usr/share/doc/tgt-$(VERSION)
 
 ifneq ($(IBMVIO),)
 CFLAGS += -DIBMVIO -DUSE_KERNEL
-- 
1.6.0.4

--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list