build-sys: do not use extra subdir for getopt examples

This is unnecessary, we have ${docsdir}/util-linux which is good
enough for these two getopt examples. I guess the "getopt"
subdirectory is legacy from time getopt has been merged into
util-linux.

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2020-11-24 12:46:03 +01:00
parent 7fa2d7fc6c
commit 7ffd3b0ef6
2 changed files with 2 additions and 2 deletions

View File

@ -205,7 +205,7 @@ 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/
getoptexampledir = $(docdir)
dist_getoptexample_DATA = \
misc-utils/getopt-example.bash \
misc-utils/getopt-example.tcsh

View File

@ -418,7 +418,7 @@ if it is called with
Example scripts for (ba)sh and (t)csh are provided with the
.BR getopt (1)
distribution, and are installed in
.I @docdir@/getopt/
.I @docdir@
directory.
.SH ENVIRONMENT
.IP POSIXLY_CORRECT