From f72e22d3611161af79a7c3240ff4700c0d70eb26 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Tue, 17 Aug 2010 15:59:54 +0200 Subject: [PATCH] Make configure switch "--docdir" work (closes: #108) --- configure.in | 2 +- doc/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 79ab22a9..bdc08e16 100644 --- a/configure.in +++ b/configure.in @@ -616,7 +616,7 @@ B=`eval echo ${bindir}` ; B=`eval echo ${B}` S=`eval echo ${sbindir}` ; S=`eval echo ${S}` C=`eval echo ${sysconfdir}` ; C=`eval echo ${C}` M=`eval echo ${mandir}` ; M=`eval echo ${M}` -D=`eval echo ${datadir}/doc/${PACKAGE}` ; D=`eval echo ${D}` +D=`eval echo ${docdir}` ; D=`eval echo ${D}` echo " Target: ${target}" test "$target" != "$host" && echo " Host: ${host}" diff --git a/doc/Makefile.am b/doc/Makefile.am index eba97d9e..34dd9c9b 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -19,7 +19,7 @@ EXTRA_DIST = FAQ.txt GIT.txt Protocol.txt Platforms.txt README-AUX.txt \ maintainer-clean-local: rm -f Makefile Makefile.in -docdir = $(datadir)/doc/$(PACKAGE) +docdir ?= $(datadir)/doc/$(PACKAGE) documents = $(EXTRA_DIST) ../AUTHORS ../COPYING ../ChangeLog ../INSTALL \ ../NEWS ../README -- 2.40.0