Fix 22494 - Search paths for dmd.conf missing from dmd man page (#13280)

* Fix Issue 22494 - Search paths for dmd.conf missing from dmd man page

* Fix syntax error in dmd.conf man page

* Remove duplication from dmd and dmd.conf man pages
This commit is contained in:
Paul Backus 2021-11-11 10:32:15 -05:00 committed by GitHub
parent 345f2949b1
commit b529e15e29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 8 deletions

View file

@ -43,12 +43,11 @@ The actual linking is done by running \fBgcc\fR.
This ensures compatibility with modules compiled with
\fBgcc\fR.
.SH FILES
.TP
.I /etc/dmd.conf
dmd will look for the initialization file
.I dmd.conf
in the directory \fI/etc\fR.
If found, environment variable settings in the file will
override any existing settings.
System wide \fBdmd\fR config file. See
.BR dmd.conf(5)
for details.
.SH ENVIRONMENT
The D compiler dmd uses the following environment
variables:

View file

@ -1,7 +1,7 @@
.TH DMD.CONF 5 "2006-03-12" "Digital Mars" "Digital Mars D"
.SH NAME
dmd.conf \- configuration file for
\BR dmd (1)
.BR dmd (1)
.SH SYNOPSIS
.I /etc/dmd.conf
@ -9,8 +9,18 @@ dmd.conf \- configuration file for
.SH DESCRIPTION
dmd will look for the initialization file
.I dmd.conf
in the directory \fI/etc\fR. If found, environment variable
settings in the file will override any existing settings.
in the following directories:
.IP 1. 3
The current working directory.
.IP 2. 3
\fB$HOME\fR
.IP 3. 3
The directory containing the \fBdmd\fR executable.
.IP 4. 3
\fI/etc\fR
.PP
If found, environment variable settings in the file will override any
existing settings.
.PP
This is handy to make dmd independent of programs with