diff options
| author | Alexander Barton <alex@barton.de> | 2010-08-17 15:59:54 +0200 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2010-08-17 15:59:54 +0200 |
| commit | f72e22d3611161af79a7c3240ff4700c0d70eb26 (patch) | |
| tree | ee4c1b87208563990b9622a564633383b65d835a | |
| parent | c65bf5d2ce2603df3d832f79d6365b064b8eb13f (diff) | |
| download | ngircd-f72e22d3611161af79a7c3240ff4700c0d70eb26.tar.gz ngircd-f72e22d3611161af79a7c3240ff4700c0d70eb26.zip | |
Make configure switch "--docdir" work (closes: #108)
| -rw-r--r-- | configure.in | 2 | ||||
| -rw-r--r-- | 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 |