File gnucap-docpath.patch of Package gnucap

Index: doc/Makefile.am
===================================================================
--- doc/Makefile.am.orig
+++ doc/Makefile.am
@@ -3,7 +3,7 @@
 
 dist_man_MANS=	gnucap.1
 
-pkgdocsdir= ${pkgdatadir}/doc
+pkgdocsdir= ${docdir}
 dist_pkgdocs_DATA= \
 	acs-tutorial COPYING history INSTALL relnotes.029 \
 	relnotes.030 relnotes.031 relnotes.032 relnotes.033 \
Index: doc/Makefile.in
===================================================================
--- doc/Makefile.in.orig
+++ doc/Makefile.in
@@ -152,7 +152,7 @@ sharedstatedir = @sharedstatedir@
 sysconfdir = @sysconfdir@
 target_alias = @target_alias@
 dist_man_MANS = gnucap.1
-pkgdocsdir = ${pkgdatadir}/doc
+pkgdocsdir = ${docdir}
 dist_pkgdocs_DATA = \
 	acs-tutorial COPYING history INSTALL relnotes.029 \
 	relnotes.030 relnotes.031 relnotes.032 relnotes.033 \
Index: examples/Makefile.am
===================================================================
--- examples/Makefile.am.orig
+++ examples/Makefile.am
@@ -1,7 +1,7 @@
 ## $Id$
 ##
 
-pkgexamplesdir=	${pkgdatadir}/examples
+pkgexamplesdir=	${docdir}/examples
 dist_pkgexamples_DATA= ${EXFILES}
 
 EXFILES= \
Index: examples/Makefile.in
===================================================================
--- examples/Makefile.in.orig
+++ examples/Makefile.in
@@ -148,7 +148,7 @@ sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 sysconfdir = @sysconfdir@
 target_alias = @target_alias@
-pkgexamplesdir = ${pkgdatadir}/examples
+pkgexamplesdir = ${docdir}/examples
 dist_pkgexamples_DATA = ${EXFILES}
 EXFILES = \
  eq2-145.ckt eq2-289.ckt eq2-577.ckt eq3-1153.ckt eq4-2305.ckt \
openSUSE Build Service is sponsored by