diff options
Diffstat (limited to 'meta/recipes-devtools/debugedit/files/0003-Makefile.am-do-not-update-manual.patch')
| -rw-r--r-- | meta/recipes-devtools/debugedit/files/0003-Makefile.am-do-not-update-manual.patch | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/meta/recipes-devtools/debugedit/files/0003-Makefile.am-do-not-update-manual.patch b/meta/recipes-devtools/debugedit/files/0003-Makefile.am-do-not-update-manual.patch new file mode 100644 index 0000000000..de467f5365 --- /dev/null +++ b/meta/recipes-devtools/debugedit/files/0003-Makefile.am-do-not-update-manual.patch | |||
| @@ -0,0 +1,65 @@ | |||
| 1 | From 4f0d7d2f4900ce8555e09854dc681278b7a3d9a9 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Chen Qi <Qi.Chen@windriver.com> | ||
| 3 | Date: Thu, 23 Mar 2023 13:09:23 +0800 | ||
| 4 | Subject: [PATCH 3/3] Makefile.am: do not update manual | ||
| 5 | |||
| 6 | The tarball ships these manuals, no need to re-generate them. | ||
| 7 | We have local patches for debugedit.c and sepdebugcrcfix.c, | ||
| 8 | this will triger re-generation of the manuals, which causes | ||
| 9 | error of missing help2man. | ||
| 10 | |||
| 11 | This is an OE specific patch. If we don't have local patches | ||
| 12 | patching debugedit.c and sepdebugcrcfix.c, this patch is also | ||
| 13 | not needed. | ||
| 14 | |||
| 15 | Upstream-Status: Inappropriate [OE Specific] | ||
| 16 | |||
| 17 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | ||
| 18 | --- | ||
| 19 | Makefile.am | 30 ------------------------------ | ||
| 20 | 1 file changed, 30 deletions(-) | ||
| 21 | |||
| 22 | diff --git a/Makefile.am b/Makefile.am | ||
| 23 | index 98b2f20..f91deea 100644 | ||
| 24 | --- a/Makefile.am | ||
| 25 | +++ b/Makefile.am | ||
| 26 | @@ -52,36 +52,6 @@ sepdebugcrcfix_LDADD = @LIBELF_LIBS@ | ||
| 27 | # Manual pages are generated for dist | ||
| 28 | dist_man_MANS = debugedit.1 sepdebugcrcfix.1 find-debuginfo.1 | ||
| 29 | |||
| 30 | -# The 'case' ensures the man pages are only generated if the corresponding | ||
| 31 | -# source script (the first prerequisite) or configure.ac (for the version) | ||
| 32 | -# has been changed. The executable prerequisite is solely meant to force | ||
| 33 | -# these docs to be made only after the executable has been compiled. | ||
| 34 | -# This makes sure help2man is not normally necessary (since the generated | ||
| 35 | -# man pages are distributed). | ||
| 36 | -debugedit.1: tools/debugedit.c configure.ac debugedit$(EXEEXT) | ||
| 37 | - @case '$?' in \ | ||
| 38 | - *$<* | *configure.ac* ) $(HELP2MAN) -N --output=$@ \ | ||
| 39 | - --name='debug source path manipulation tool' \ | ||
| 40 | - ./debugedit$(EXEEXT) ;; \ | ||
| 41 | - * ) : ;; \ | ||
| 42 | - esac | ||
| 43 | - | ||
| 44 | -sepdebugcrcfix.1: tools/sepdebugcrcfix.c configure.ac sepdebugcrcfix$(EXEEXT) | ||
| 45 | - @case '$?' in \ | ||
| 46 | - *$<* | *configure.ac* ) $(HELP2MAN) -N --output=$@ \ | ||
| 47 | - --name='fixes CRC for separate .debug files' \ | ||
| 48 | - ./sepdebugcrcfix$(EXEEXT) ;;\ | ||
| 49 | - * ) : ;; \ | ||
| 50 | - esac | ||
| 51 | - | ||
| 52 | -find-debuginfo.1: $(top_srcdir)/scripts/find-debuginfo.in configure.ac find-debuginfo | ||
| 53 | - @case '$?' in \ | ||
| 54 | - *$<* | *configure.ac* ) $(HELP2MAN) -N --output=$@ \ | ||
| 55 | - --name='finds debuginfo and processes it' \ | ||
| 56 | - ./find-debuginfo ;;\ | ||
| 57 | - * ) : ;; \ | ||
| 58 | - esac | ||
| 59 | - | ||
| 60 | noinst_HEADERS= tools/ansidecl.h \ | ||
| 61 | tools/hashtab.h \ | ||
| 62 | tools/md5.h \ | ||
| 63 | -- | ||
| 64 | 2.17.1 | ||
| 65 | |||
