Blame 0158-doc-fix-related-to-conditional-compilation-of-man-pa.patch

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