abrt/0010-doc-fix-related-to-conditional-compilation-of-man-pa.patch
Matej Habrnal b52e1a767a Fix bugs in a-auto-reporting, dbus, a-hook-ccpp and abrt-cli
Correct usage of abrt-gdb-exploitable.

Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
2015-08-17 09:51:23 +02:00

45 lines
1.7 KiB
Diff

From 930d035e7a56ecb18414b56d1fa906f2948b2d9e Mon Sep 17 00:00:00 2001
From: Matej Habrnal <mhabrnal@redhat.com>
Date: Tue, 28 Jul 2015 16:20:47 +0200
Subject: [PATCH] doc: fix related to conditional compilation of man page
abrt-auto-reporting.txt is a copy of either
abrt-auto-reporting-authenticated.txt or
abrt-auto-reporting-unauthenticated.txt. abrt-auto-reporting.txt file always
exists because MAN1_TXT variable contains it and is distributed (the file is listed
in the EXTRA_DIST variable). It would be difficult to ensure
to have abrt-auto-reporting.txt in the MAN1_TXT and exclude it
from the EXTRA_DIST. So enforce copy, to get the right version of man page, seems
like the easiest way.
Related to rhbz#1191572
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
---
doc/Makefile.am | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/doc/Makefile.am b/doc/Makefile.am
index f39c3bf..fdd08cf 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -82,6 +82,15 @@ MAN_SOURCE =
MAN_SOURCE += abrt-auto-reporting-authenticated.txt
MAN_SOURCE += abrt-auto-reporting-unauthenticated.txt
+# abrt-auto-reporting.txt is a copy of either
+# abrt-auto-reporting-authenticated.txt or
+# abrt-auto-reporting-unauthenticated.txt. abrt-auto-reporting.txt file always
+# exists because MAN1_TXT variable contains it and is distributed (the file is listed
+# in the EXTRA_DIST variable). It would be difficult to ensure
+# to have abrt-auto-reporting.txt in the MAN1_TXT and exclude it
+# from the EXTRA_DIST. So enforce copy, to get the right version of man page, seems
+# like the easiest way.
+.PHONY: abrt-auto-reporting.txt
if AUTHENTICATED_AUTOREPORTING
abrt-auto-reporting.txt: abrt-auto-reporting-authenticated.txt
else
--
2.4.3