File 0001-Docs-adapted-to-openSUSE.patch of Package gnuradio

From bd75a42d7e30d0f14bb7c49b584e89bc1d2a7fae Mon Sep 17 00:00:00 2001
From: Gregor Dschung <dschung@cs.uni-kl.de>
Date: Tue, 19 Oct 2010 01:06:49 +0200
Subject: [PATCH] Docs adapted to openSUSE

---
 Makefile.common      |    4 ++--
 usrp/doc/Makefile.am |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile.common b/Makefile.common
index fb83b94..af9f965 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -101,8 +101,8 @@ RUN_GUILE = GUILE_LOAD_PATH="@abs_top_srcdir@/gruel/src/scheme" @GUILE@ -e main
 exampledir = $(datadir)/gnuradio/examples
 
 # Base directory for documentation (docdir undefined in autoconf < 1.60)
-docdir ?= $(datadir)/doc/$(PACKAGE)
-gr_docdir = $(docdir)-$(DOCVER)
+docdir = $(datadir)/doc/packages
+gr_docdir = $(docdir)/gnuradio
 
 # System configuration files
 gr_prefsdir = $(GR_PREFSDIR)
diff --git a/usrp/doc/Makefile.am b/usrp/doc/Makefile.am
index 6099ebb..ebc4ad8 100644
--- a/usrp/doc/Makefile.am
+++ b/usrp/doc/Makefile.am
@@ -25,7 +25,7 @@ include $(top_srcdir)/Makefile.common
 SUBDIRS = other
 
 man3dir = $(mandir)/man3
-usrp_docdir  = $(prefix)/share/doc/usrp-$(DOCVER)
+usrp_docdir  = $(docdir)/usrp
 
 EXTRA_DIST = 			\
 	Doxyfile.in		\
-- 
1.7.1

openSUSE Build Service is sponsored by