]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: do not use extra subdir for getopt examples
authorKarel Zak <kzak@redhat.com>
Tue, 24 Nov 2020 11:46:03 +0000 (12:46 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 24 Nov 2020 11:46:03 +0000 (12:46 +0100)
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>
misc-utils/Makemodule.am
misc-utils/getopt.1.in

index 05c67a4daadeecdea3651dabfcd1e0fb93708809..a01ca36bc2af0b147fe9f7bf139ed7408385a2f9 100644 (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
index 1e913ea22b27df1ce4f147e1b34c5144d70ff6dc..b18d028202c638bfb39179f32ed4a298aed76854 100644 (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