getopt: use examples installation directory in man page
Addresses: https://bugs.debian.org/913049 Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
f0158208a9
commit
44702f12f7
|
@ -118,6 +118,7 @@ edit_cmd = sed \
|
|||
-e 's|@datadir[@]|$(datadir)|g' \
|
||||
-e 's|@sbindir[@]|$(sbindir)|g' \
|
||||
-e 's|@bindir[@]|$(bindir)|g' \
|
||||
-e 's|@docdir[@]|$(docdir)|g' \
|
||||
-e 's|@includedir[@]|$(includedir)|g' \
|
||||
-e 's|@runstatedir[@]|$(runstatedir)|g' \
|
||||
-e 's|@usrlib_execdir[@]|$(usrlib_execdir)|g' \
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
getopt.1
|
||||
uuidd.8
|
||||
uuidd.rc
|
||||
uuidd.service
|
||||
|
|
|
@ -202,6 +202,7 @@ endif
|
|||
if BUILD_GETOPT
|
||||
usrbin_exec_PROGRAMS += getopt
|
||||
dist_man_MANS += misc-utils/getopt.1
|
||||
PATHFILES += misc-utils/getopt.1
|
||||
getopt_SOURCES = misc-utils/getopt.c
|
||||
getoptexampledir = $(docdir)/getopt/
|
||||
dist_getoptexample_SCRIPTS = \
|
||||
|
|
|
@ -417,11 +417,9 @@ if it is called with
|
|||
.SH EXAMPLES
|
||||
Example scripts for (ba)sh and (t)csh are provided with the
|
||||
.BR getopt (1)
|
||||
distribution, and are optionally installed in
|
||||
.I /usr/share/getopt/
|
||||
or
|
||||
.I /usr/share/doc/
|
||||
in the util-linux subdirectory.
|
||||
distribution, and are installed in
|
||||
.I @docdir@/getopt/
|
||||
directory.
|
||||
.SH ENVIRONMENT
|
||||
.IP POSIXLY_CORRECT
|
||||
This environment variable is examined by the
|
Loading…
Reference in New Issue