# All our programs
bin_PROGRAMS = debugedit sepdebugcrcfix
-# Install find-debuginfo.sh in $(bindir) and distribute it.
-bin_SCRIPTS = $(top_srcdir)/scripts/find-debuginfo.sh
+# Install find-debuginfo in $(bindir) and distribute it.
+bin_SCRIPTS = $(top_srcdir)/scripts/find-debuginfo
debugedit_SOURCES = tools/debugedit.c \
tools/hashtab.c \
sepdebugcrcfix_LDADD = @LIBELF_LIBS@
# Manual pages are generated for dist
-dist_man_MANS = debugedit.1 sepdebugcrcfix.1 find-debuginfo.sh.1
+dist_man_MANS = debugedit.1 sepdebugcrcfix.1 find-debuginfo.1
# The 'case' ensures the man pages are only generated if the corresponding
# source script (the first prerequisite) or configure.ac (for the version)
esac
# Since the script isn't generated this doesn't need any special casing.
-find-debuginfo.sh.1: $(top_srcdir)/scripts/find-debuginfo.sh
+find-debuginfo.1: $(top_srcdir)/scripts/find-debuginfo
$(HELP2MAN) -N --output=$@ \
--name='finds debuginfo and processes it' \
- $(top_srcdir)/scripts/find-debuginfo.sh
+ $(top_srcdir)/scripts/find-debuginfo
noinst_HEADERS= tools/ansidecl.h \
tools/hashtab.h \
tools/md5.h \
tools/sha1.h
-EXTRA_DIST = README COPYING COPYING3 COPYING.LIB scripts/find-debuginfo.sh
+EXTRA_DIST = README COPYING COPYING3 COPYING.LIB scripts/find-debuginfo
#!/bin/bash
-#find-debuginfo.sh - automagically generate debug info and file list
+#find-debuginfo - automagically generate debug info and file list
#for inclusion in an rpm spec file.
# Copyright (C) 2002-2021 rpm and debugedit contributors
help()
{
cat <<'EOF'
-Usage: find-debuginfo.sh [OPTION]... [builddir]
+Usage: find-debuginfo [OPTION]... [builddir]
automagically generates debug info and file lists
Options:
The -p argument is an grep -E -style regexp matching the a file name,
and must not use anchors (^ or $).
-The --run-dwz flag instructs find-debuginfo.sh to run the dwz utility
+The --run-dwz flag instructs find-debuginfo to run the dwz utility
if available, and --dwz-low-mem-die-limit and --dwz-max-die-limit
provide detailed limits. See dwz(1) -l and -L option for details.
Use --dwz-single-file-mode to disable multi-file mode, see dwz(1) -m
shift
;;
--version)
- echo "debugedit find-debuginfo.sh"
+ echo "find-debuginfo @VERSION@"
done=true;
;;
--help)