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