From: Karel Zak Date: Tue, 6 Oct 2020 13:47:02 +0000 (+0200) Subject: build-sys: use _DATA to install getopt examples X-Git-Tag: v2.37-rc1~435 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=27114b297424ecf1b745b1a71f6d40be0e56e67e;p=thirdparty%2Futil-linux.git build-sys: use _DATA to install getopt examples * rename the files to getopt-example.* * use automake _DATA rather than _SCRIPT Addresses: https://github.com/karelzak/util-linux/issues/1149 Signed-off-by: Karel Zak --- diff --git a/misc-utils/Makemodule.am b/misc-utils/Makemodule.am index 56f9a41938..05c67a4daa 100644 --- a/misc-utils/Makemodule.am +++ b/misc-utils/Makemodule.am @@ -206,9 +206,9 @@ dist_man_MANS += misc-utils/getopt.1 PATHFILES += misc-utils/getopt.1 getopt_SOURCES = misc-utils/getopt.c getoptexampledir = $(docdir)/getopt/ -dist_getoptexample_SCRIPTS = \ - misc-utils/getopt-parse.bash \ - misc-utils/getopt-parse.tcsh +dist_getoptexample_DATA = \ + misc-utils/getopt-example.bash \ + misc-utils/getopt-example.tcsh endif if BUILD_FINCORE diff --git a/misc-utils/getopt-parse.bash b/misc-utils/getopt-example.bash similarity index 100% rename from misc-utils/getopt-parse.bash rename to misc-utils/getopt-example.bash diff --git a/misc-utils/getopt-parse.tcsh b/misc-utils/getopt-example.tcsh similarity index 100% rename from misc-utils/getopt-parse.tcsh rename to misc-utils/getopt-example.tcsh