xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* using configure options to specifiy mandir, docdir and others
@ 2012-06-11 11:40 Olaf Hering
  2012-06-11 12:20 ` Roger Pau Monne
  0 siblings, 1 reply; 2+ messages in thread
From: Olaf Hering @ 2012-06-11 11:40 UTC (permalink / raw)
  To: xen-devel


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: using configure options to specifiy mandir, docdir and others
  2012-06-11 11:40 using configure options to specifiy mandir, docdir and others Olaf Hering
@ 2012-06-11 12:20 ` Roger Pau Monne
  0 siblings, 0 replies; 2+ messages in thread
From: Roger Pau Monne @ 2012-06-11 12:20 UTC (permalink / raw)
  To: Olaf Hering; +Cc: xen-devel@lists.xen.org

Olaf Hering wrote:
> 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

Why don't you export datadir also in Tools.mk if needed?

http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Installation-Directory-Variables.html

> DOCDIR and other variables are already hardcoded in Config.mk, and even
> PYTHON is listed in Config.mk instead of Tools.mk.

PYTHON is in Config.mk because it is needed to build the hypervisor, and 
we agreed that building the hypervisor doesn't require the user to run 
the configure script.

Other paths should be in Config/Tools.mk or Config/Docs.mk (don't really 
know if we want to split this into two different files).

> Is there way to use the values passed to configure instead of hardcoding
> them into Config.mk?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-11 12:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-11 11:40 using configure options to specifiy mandir, docdir and others Olaf Hering
2012-06-11 12:20 ` Roger Pau Monne

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).