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