mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 11:18:09 -07:00
ofxconnect needed the same treatment, as pointed out by Flávio Camilo. Closes: https://bugs.gentoo.org/968504 Signed-off-by: Sam James <sam@gentoo.org>
89 lines
2.8 KiB
Diff
89 lines
2.8 KiB
Diff
https://github.com/libofx/libofx/pull/103
|
|
|
|
From bcc0f7bf903e798672e21756908d060f77d6f8c5 Mon Sep 17 00:00:00 2001
|
|
Message-ID: <bcc0f7bf903e798672e21756908d060f77d6f8c5.1767970048.git.sam@gentoo.org>
|
|
From: Sam James <sam@gentoo.org>
|
|
Date: Wed, 7 Jan 2026 21:45:32 +0000
|
|
Subject: [PATCH] ofxconnect, ofxdump: fix parallel build issue with man page
|
|
generation
|
|
|
|
Fixes the following:
|
|
```
|
|
/usr/bin/help2man -n 'Dump content of OFX files as human-readable text' -N --output=ofxdump.1 ./ofxdump
|
|
help2man: can't get `--help' info from ./ofxdump
|
|
Try `--no-discard-stderr' if option outputs to stderr
|
|
make[2]: *** [Makefile:1253: ofxdump.1] Error 127
|
|
make[2]: Leaving directory '/var/tmp/portage/dev-libs/libofx-0.10.9-r1/work/libofx-0.10.9/ofxdump'
|
|
make[1]: *** [Makefile:551: all-recursive] Error 1
|
|
```
|
|
|
|
We need to make sure that ofxdump has been built before trying to run
|
|
help2man which will execute it.
|
|
---
|
|
ofxconnect/Makefile.am | 7 ++++---
|
|
ofxdump/Makefile.am | 6 +++---
|
|
2 files changed, 7 insertions(+), 6 deletions(-)
|
|
|
|
diff --git a/ofxconnect/Makefile.am b/ofxconnect/Makefile.am
|
|
index e3a58a7..2b3f1f1 100644
|
|
--- a/ofxconnect/Makefile.am
|
|
+++ b/ofxconnect/Makefile.am
|
|
@@ -11,13 +11,14 @@ AM_CPPFLAGS = \
|
|
|
|
|
|
if USE_GENGETOPT
|
|
-CLEANFILES = cmdline.c cmdline.h
|
|
|
|
cmdline.c cmdline.h: cmdline.ggo Makefile
|
|
gengetopt --unamed-opts < $<
|
|
|
|
endif
|
|
-MAINTAINERCLEANFILES = cmdline.c cmdline.h
|
|
+
|
|
+CLEANFILES = cmdline.c cmdline.h ofxconnect.1
|
|
+MAINTAINERCLEANFILES = cmdline.c cmdline.h ofxconnect.1
|
|
|
|
EXTRA_DIST = cmdline.ggo test-privateserver.sh CMakeLists.txt
|
|
|
|
@@ -25,7 +26,7 @@ EXTRA_DIST = cmdline.ggo test-privateserver.sh CMakeLists.txt
|
|
# the key needed to run this test.
|
|
TESTS = test-privateserver.sh
|
|
|
|
-ofxconnect.1: $(top_srcdir)/configure.ac
|
|
+ofxconnect.1: $(top_srcdir)/configure.ac ofxconnect
|
|
if HAVE_HELP2MAN
|
|
$(HELP2MAN) -n 'Create a statement request file' -N --output=ofxconnect.1 ./ofxconnect$(EXEEXT)
|
|
else
|
|
diff --git a/ofxdump/Makefile.am b/ofxdump/Makefile.am
|
|
index 0c9eefb..fdacd1c 100644
|
|
--- a/ofxdump/Makefile.am
|
|
+++ b/ofxdump/Makefile.am
|
|
@@ -8,21 +8,21 @@ AM_CPPFLAGS = \
|
|
'-DCMDLINE_PARSER_PACKAGE="ofxdump"'
|
|
|
|
if USE_GENGETOPT
|
|
-CLEANFILES = cmdline.c cmdline.h
|
|
|
|
cmdline.c cmdline.h: cmdline.ggo Makefile
|
|
gengetopt --unamed-opts < $<
|
|
|
|
endif
|
|
|
|
-ofxdump.1: $(top_srcdir)/configure.ac
|
|
+ofxdump.1: $(top_srcdir)/configure.ac ofxdump
|
|
if HAVE_HELP2MAN
|
|
$(HELP2MAN) -n 'Dump content of OFX files as human-readable text' -N --output=ofxdump.1 ./ofxdump$(EXEEXT)
|
|
else
|
|
echo "*** No man page available because of missing help2man tool" > $@
|
|
endif
|
|
|
|
-MAINTAINERCLEANFILES = cmdline.c cmdline.h
|
|
+CLEANFILES = cmdline.c cmdline.h ofxdump.1
|
|
+MAINTAINERCLEANFILES = cmdline.c cmdline.h ofxdump.1
|
|
EXTRA_DIST = cmdline.ggo CMakeLists.txt
|
|
|
|
# Run all our example files through ofxdump to verify we can parse
|
|
--
|
|
2.52.0
|
|
|