From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: using configure options to specifiy mandir, docdir and others Date: Mon, 11 Jun 2012 13:40:29 +0200 Message-ID: <20120611114029.GA10576@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org I'm currently preparing a patch to install the documentation files referenced in the various man pages. While doing that I tried to add the config options from configure into config/Tools.mk. But this fails because @docdir@ expands to something like ${datadir}/doc/$PACKAGE_TARNAME instead of something useful. I see DOCDIR and other variables are already hardcoded in Config.mk, and even PYTHON is listed in Config.mk instead of Tools.mk. Is there way to use the values passed to configure instead of hardcoding them into Config.mk? Olaf