summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/debugedit/files/0003-Makefile.am-do-not-update-manual.patch
blob: d0414f739a74e91ca1d5cce93f652e25b31255a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
From b2715c3f4d28fab1c238086d9b5435e269b06301 Mon Sep 17 00:00:00 2001
From: Chen Qi <Qi.Chen@windriver.com>
Date: Thu, 23 Mar 2023 13:09:23 +0800
Subject: [PATCH] Makefile.am: do not update manual

The tarball ships these manuals, no need to re-generate them.
We have local patches for debugedit.c and sepdebugcrcfix.c,
this will triger re-generation of the manuals, which causes
error of missing help2man.

This is an OE specific patch. If we don't have local patches
patching debugedit.c and sepdebugcrcfix.c, this patch is also
not needed.

Upstream-Status: Inappropriate [OE Specific]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 Makefile.am | 30 ------------------------------
 1 file changed, 30 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index c590edf..692e016 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -52,36 +52,6 @@ sepdebugcrcfix_LDADD = @LIBELF_LIBS@
 # Manual pages are generated for dist
 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)
-# has been changed.  The executable prerequisite is solely meant to force
-# these docs to be made only after the executable has been compiled.
-# This makes sure help2man is not normally necessary (since the generated
-# man pages are distributed).
-debugedit.1: tools/debugedit.c configure.ac debugedit$(EXEEXT)
-	@case '$?' in \
-	  *$<* | *configure.ac* ) $(HELP2MAN) -N --output=$@ \
-		--name='debug source path manipulation tool' \
-		./debugedit$(EXEEXT) ;; \
-	  * ) : ;; \
-	esac
-
-sepdebugcrcfix.1: tools/sepdebugcrcfix.c configure.ac sepdebugcrcfix$(EXEEXT)
-	@case '$?' in \
-	  *$<* | *configure.ac* ) $(HELP2MAN) -N --output=$@ \
-		--name='fixes CRC for separate .debug files' \
-		./sepdebugcrcfix$(EXEEXT) ;;\
-	  * ) : ;; \
-	esac
-
-find-debuginfo.1: $(top_srcdir)/scripts/find-debuginfo.in configure.ac find-debuginfo
-	@case '$?' in \
-	  *$<* | *configure.ac* ) $(HELP2MAN) -N --output=$@ \
-		--name='finds debuginfo and processes it' \
-		./find-debuginfo ;;\
-	  * ) : ;; \
-	esac
-
 noinst_HEADERS= tools/ansidecl.h \
 		tools/hashtab.h