]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: use _DATA to install getopt examples
authorKarel Zak <kzak@redhat.com>
Tue, 6 Oct 2020 13:47:02 +0000 (15:47 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 6 Oct 2020 13:47:02 +0000 (15:47 +0200)
* 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 <kzak@redhat.com>
misc-utils/Makemodule.am
misc-utils/getopt-example.bash [moved from misc-utils/getopt-parse.bash with 100% similarity]
misc-utils/getopt-example.tcsh [moved from misc-utils/getopt-parse.tcsh with 100% similarity]

index 56f9a41938c3730d1d8f47ec0e8f8dd88bafd699..05c67a4daadeecdea3651dabfcd1e0fb93708809 100644 (file)
@@ -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