mirror of
https://github.com/mirror/make.git
synced 2025-01-19 00:30:38 +08:00
Define mandir the way everyone actually uses it.
This commit is contained in:
parent
f21ec15ffa
commit
e74b6ae5c2
@ -440,7 +440,7 @@ and nothing should be directly installed into these two directories.
|
|||||||
@table @samp
|
@table @samp
|
||||||
@item prefix
|
@item prefix
|
||||||
A prefix used in constructing the default values of the variables listed
|
A prefix used in constructing the default values of the variables listed
|
||||||
below. The default value of @code{prefix} should be @file{/usr/local}
|
below. The default value of @code{prefix} should be @file{/usr/local}.
|
||||||
When building the complete GNU system, the prefix will be empty and
|
When building the complete GNU system, the prefix will be empty and
|
||||||
@file{/usr} will be a symbolic link to @file{/}.
|
@file{/usr} will be a symbolic link to @file{/}.
|
||||||
|
|
||||||
@ -585,19 +585,17 @@ Unix-style man pages are installed in one of the following:
|
|||||||
|
|
||||||
@table @samp
|
@table @samp
|
||||||
@item mandir
|
@item mandir
|
||||||
The directory for installing the man pages (if any) for this package.
|
The top-level directory for installing the man pages (if any) for this
|
||||||
It should include the suffix for the proper section of the
|
package. It will normally be @file{/usr/local/man}, but you should
|
||||||
manual---usually @samp{1} for a utility. It will normally be
|
write it as @file{$(prefix)/man}.
|
||||||
@file{/usr/local/man/man1}, but you should write it as
|
|
||||||
@file{$(prefix)/man/man1}.
|
|
||||||
|
|
||||||
@item man1dir
|
@item man1dir
|
||||||
The directory for installing section 1 man pages.
|
The directory for installing section 1 man pages. Write it as
|
||||||
|
@file{$(mandir)/man1}.
|
||||||
@item man2dir
|
@item man2dir
|
||||||
The directory for installing section 2 man pages.
|
The directory for installing section 2 man pages. Write it as
|
||||||
|
@file{$(mandir)/man2}.
|
||||||
@item @dots{}
|
@item @dots{}
|
||||||
Use these names instead of @samp{mandir} if the package needs to install man
|
|
||||||
pages in more than one section of the manual.
|
|
||||||
|
|
||||||
@strong{Don't make the primary documentation for any GNU software be a
|
@strong{Don't make the primary documentation for any GNU software be a
|
||||||
man page. Write a manual in Texinfo instead. Man pages are just for
|
man page. Write a manual in Texinfo instead. Man pages are just for
|
||||||
|
Loading…
Reference in New Issue
Block a user