# DP: adjust locations of directories to debian policy --- a/Demo/tkinter/guido/ManPage.py +++ b/Demo/tkinter/guido/ManPage.py @@ -189,8 +189,9 @@ def test(): import os import sys - # XXX This directory may be different on your system - MANDIR = '/usr/local/man/mann' + # XXX This directory may be different on your system, + # it is here set for Debian GNU/Linux. + MANDIR = '/usr/share/man' DEFAULTPAGE = 'Tcl' formatted = 0 if sys.argv[1:] and sys.argv[1] == '-f': --- a/Demo/tkinter/guido/tkman.py +++ b/Demo/tkinter/guido/tkman.py @@ -9,8 +9,8 @@ from Tkinter import * from ManPage import ManPage -MANNDIRLIST = ['/depot/sundry/man/mann','/usr/local/man/mann'] -MAN3DIRLIST = ['/depot/sundry/man/man3','/usr/local/man/man3'] +MANNDIRLIST = ['/depot/sundry/man/mann','/usr/share/man/mann'] +MAN3DIRLIST = ['/depot/sundry/man/man3','/usr/share/man/man3'] foundmanndir = 0 for dir in MANNDIRLIST: --- a/Misc/python.man +++ b/Misc/python.man @@ -323,7 +323,7 @@ These are subject to difference depending on local installation conventions; ${prefix} and ${exec_prefix} are installation-dependent and should be interpreted as for GNU software; they may be the same. -The default for both is \fI/usr/local\fP. +On Debian GNU/{Hurd,Linux} the default for both is \fI/usr\fP. .IP \fI${exec_prefix}/bin/python\fP Recommended location of the interpreter. .PP --- a/Tools/faqwiz/faqconf.py +++ b/Tools/faqwiz/faqconf.py @@ -21,7 +21,7 @@ OWNEREMAIL = "nobody@anywhere.org" # Email for feedback HOMEURL = "http://www.python.org" # Related home page HOMENAME = "Python home" # Name of related home page -RCSBINDIR = "/usr/local/bin/" # Directory containing RCS commands +RCSBINDIR = "/usr/bin/" # Directory containing RCS commands # (must end in a slash) # Parameters you can normally leave alone --- a/Tools/webchecker/webchecker.py +++ b/Tools/webchecker/webchecker.py @@ -19,7 +19,8 @@ a directory listing is returned. Now, you can point webchecker to the document tree in the local file system of your HTTP daemon, and have most of it checked. In fact the default works this way if your local -web tree is located at /usr/local/etc/httpd/htdpcs (the default for +web tree is located at /var/www, which is the default for Debian +GNU/Linux. Other systems use /usr/local/etc/httpd/htdocs (the default for the NCSA HTTP daemon and probably others). Report printed: