[Python-bugs-list] [ python-Bugs-446671 ] configure ignores --mandir

noreply@sourceforge.net noreply@sourceforge.net
Wed, 01 Aug 2001 09:21:20 -0700


Bugs item #446671, was opened at 2001-07-31 23:02
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=446671&group_id=5470

Category: Build
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Bill Bumgarner (bbum)
Assigned to: Nobody/Anonymous (nobody)
Summary: configure ignores --mandir

Initial Comment:
Actually, Makefile.in (in various places) ignores the 
--mandir configuration option to configure.

As such, man pages are always installed under 
$(PREFIX)/man regardless of what the user 
specifies.

(I have noticed that an awful lot of GNU packages 
have a similar bug.  Yet, a few BSD derived 
operating systems like man pages to be installed 
in /usr/local/share/man/)

b.bum


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2001-08-01 09:21

Message:
Logged In: NO 


The option is in configure within the 2.2 source, is a 
standard part of autoconf, and is easy to support.   A lot 
of GNU programs are starting to do so.

As well, there are a handful of systems that have the 
man pages split away from the binary/library/includes.

I'll try and generate/submit the appropriate patch.




[localhost:/tmp/Python-2.2a1] bbum% ./configure --help
Usage: configure [options] [host]
Options: [defaults in brackets after descriptions]
Configuration:
  --cache-file=FILE       cache test results in FILE
  --help                  print this message
  --no-create             do not create output files
  --quiet, --silent       do not print `checking...' messages
  --version               print the version of autoconf that 
created configure
Directory and file names:
  --prefix=PREFIX         install architecture-independent 
files in PREFIX
                          [/usr/local]
  --exec-prefix=EPREFIX   install architecture-dependent 
files in EPREFIX
                          [same as prefix]
  --bindir=DIR            user executables in DIR [EPREFIX/
bin]
  --sbindir=DIR           system admin executables in DIR 
[EPREFIX/sbin]
  --libexecdir=DIR        program executables in DIR 
[EPREFIX/libexec]
  --datadir=DIR           read-only architecture-
independent data in DIR
                          [PREFIX/share]
  --sysconfdir=DIR        read-only single-machine data in 
DIR [PREFIX/etc]
  --sharedstatedir=DIR    modifiable architecture-
independent data in DIR
                          [PREFIX/com]
  --localstatedir=DIR     modifiable single-machine data 
in DIR [PREFIX/var]
  --libdir=DIR            object code libraries in DIR 
[EPREFIX/lib]
  --includedir=DIR        C header files in DIR [PREFIX/
include]
  --oldincludedir=DIR     C header files for non-gcc in 
DIR [/usr/include]
  --infodir=DIR           info documentation in DIR [PREFIX/
info]
  --mandir=DIR            man documentation in DIR 
[PREFIX/man]
  --srcdir=DIR            find the sources in DIR [configure 
dir or ..]
  --program-prefix=PREFIX prepend PREFIX to installed 
program names
  --program-suffix=SUFFIX append SUFFIX to installed 
program names
  --program-transform-name=PROGRAM


----------------------------------------------------------------------

Comment By: Guido van Rossum (gvanrossum)
Date: 2001-08-01 06:30

Message:
Logged In: YES 
user_id=6380

I'm not sure who's to blame.  I've never even heard of
--mandir.  Unclear whether it's a bug.  If someone feels
like fixing this, let them go ahead, but I don't see this as
a priority unless you provide a good motivating example as
to why you would need this.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=446671&group_id=5470