blob: de467f5365ce54148e719ba1420e9d8e1e5c919b [file] [log] [blame]
Andrew Geisslerfc113ea2023-03-31 09:59:46 -05001From 4f0d7d2f4900ce8555e09854dc681278b7a3d9a9 Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Thu, 23 Mar 2023 13:09:23 +0800
4Subject: [PATCH 3/3] Makefile.am: do not update manual
5
6The tarball ships these manuals, no need to re-generate them.
7We have local patches for debugedit.c and sepdebugcrcfix.c,
8this will triger re-generation of the manuals, which causes
9error of missing help2man.
10
11This is an OE specific patch. If we don't have local patches
12patching debugedit.c and sepdebugcrcfix.c, this patch is also
13not needed.
14
15Upstream-Status: Inappropriate [OE Specific]
16
17Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
18---
19 Makefile.am | 30 ------------------------------
20 1 file changed, 30 deletions(-)
21
22diff --git a/Makefile.am b/Makefile.am
23index 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--
642.17.1
65