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