From 7ffd3b0ef668c72648c3f1e811371ee413dd9f82 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 24 Nov 2020 12:46:03 +0100 Subject: [PATCH] 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 --- misc-utils/Makemodule.am | 2 +- misc-utils/getopt.1.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/misc-utils/Makemodule.am b/misc-utils/Makemodule.am index 05c67a4da..a01ca36bc 100644 --- a/misc-utils/Makemodule.am +++ b/misc-utils/Makemodule.am @@ -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 diff --git a/misc-utils/getopt.1.in b/misc-utils/getopt.1.in index 1e913ea22..b18d02820 100644 --- a/misc-utils/getopt.1.in +++ b/misc-utils/getopt.1.in @@ -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