From d5a446f28919bb44bf644cf641025cdbf769eae3 Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Thu, 22 Nov 2007 13:51:02 +0000
Subject: [PATCH] Remove extra docdir variable from Makefile.am

The docdir variable is defined by autoconf, so we don't need to define
it ourselves. This way, the target documentation directory can
be changed via ./configure instead of patching Makefile.am.

In truth, we should install the pdf and html files using the pdf and
html targets, since configure defines pdfdir=htmldir=docdir; but
installing them in docdir is good enough.

Reviewed-by: imsnah
---
 doc/Makefile.am | 2 --
 1 file changed, 2 deletions(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index 4aedb1501..4954972c4 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,5 +1,3 @@
-docdir = $(datadir)/doc/$(PACKAGE)
-
 SUBDIRS = examples
 dist_doc_DATA = \
   hooks.html hooks.pdf \
-- 
GitLab