* 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>
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