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|@datadir[@]|$(datadir)|g' \
|
||||||
-e 's|@sbindir[@]|$(sbindir)|g' \
|
-e 's|@sbindir[@]|$(sbindir)|g' \
|
||||||
-e 's|@bindir[@]|$(bindir)|g' \
|
-e 's|@bindir[@]|$(bindir)|g' \
|
||||||
|
-e 's|@docdir[@]|$(docdir)|g' \
|
||||||
-e 's|@includedir[@]|$(includedir)|g' \
|
-e 's|@includedir[@]|$(includedir)|g' \
|
||||||
-e 's|@runstatedir[@]|$(runstatedir)|g' \
|
-e 's|@runstatedir[@]|$(runstatedir)|g' \
|
||||||
-e 's|@usrlib_execdir[@]|$(usrlib_execdir)|g' \
|
-e 's|@usrlib_execdir[@]|$(usrlib_execdir)|g' \
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
getopt.1
|
||||||
uuidd.8
|
uuidd.8
|
||||||
uuidd.rc
|
uuidd.rc
|
||||||
uuidd.service
|
uuidd.service
|
||||||
|
|
|
@ -202,6 +202,7 @@ endif
|
||||||
if BUILD_GETOPT
|
if BUILD_GETOPT
|
||||||
usrbin_exec_PROGRAMS += getopt
|
usrbin_exec_PROGRAMS += getopt
|
||||||
dist_man_MANS += misc-utils/getopt.1
|
dist_man_MANS += misc-utils/getopt.1
|
||||||
|
PATHFILES += misc-utils/getopt.1
|
||||||
getopt_SOURCES = misc-utils/getopt.c
|
getopt_SOURCES = misc-utils/getopt.c
|
||||||
getoptexampledir = $(docdir)/getopt/
|
getoptexampledir = $(docdir)/getopt/
|
||||||
dist_getoptexample_SCRIPTS = \
|
dist_getoptexample_SCRIPTS = \
|
||||||
|
|
|
@ -417,11 +417,9 @@ if it is called with
|
||||||
.SH EXAMPLES
|
.SH EXAMPLES
|
||||||
Example scripts for (ba)sh and (t)csh are provided with the
|
Example scripts for (ba)sh and (t)csh are provided with the
|
||||||
.BR getopt (1)
|
.BR getopt (1)
|
||||||
distribution, and are optionally installed in
|
distribution, and are installed in
|
||||||
.I /usr/share/getopt/
|
.I @docdir@/getopt/
|
||||||
or
|
directory.
|
||||||
.I /usr/share/doc/
|
|
||||||
in the util-linux subdirectory.
|
|
||||||
.SH ENVIRONMENT
|
.SH ENVIRONMENT
|
||||||
.IP POSIXLY_CORRECT
|
.IP POSIXLY_CORRECT
|
||||||
This environment variable is examined by the
|
This environment variable is examined by the
|
Loading…
Reference in New Issue