[PATCH] dist: include manual page sources



Omitted by mistake with an errorneous substitution.

https://mail.gnome.org/archives/networkmanager-list/2015-January/msg00066.html
---
 man/Makefile.am | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

On Thu, 2015-01-22 at 04:14 +0100, Michael Biebl wrote:
hi,

I just noticed that the 1.0.0 tarball failed to build twice in a row
(./configure && make && make clean * 2)
due to man/{NetworkManager.xml,nmcli-examples.xml} missing in the dist
tarball.
The tarball only contains the generated man pages but should also
contains the xml sources.

Good catch, Michael, thank you. Unless anyone objects I'll apply this patch and 
future releases (from 1.0 branch too) will contain the files.

Regards,
Lubo

diff --git a/man/Makefile.am b/man/Makefile.am
index 4577cb4..e7262e7 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -71,14 +71,14 @@ docbook_autogenerated_man_pages =   \
        nm-settings-keyfile.5           \
        nm-settings-ifcfg-rh.5
 
-EXTRA_DIST +=                                  \
-       nm-settings.xml                         \
-       nm-settings.xsl                         \
-       nm-settings-keyfile.xml                 \
-       nm-settings-keyfile.xsl                 \
-       nm-settings-ifcfg-rh.xml                \
-       nm-settings-ifcfg-rh.xsl                \
-       $(docbook_generated_man_pages:.%=.xml)  \
+EXTRA_DIST +=                                                          \
+       nm-settings.xml                                                 \
+       nm-settings.xsl                                                 \
+       nm-settings-keyfile.xml                                         \
+       nm-settings-keyfile.xsl                                         \
+       nm-settings-ifcfg-rh.xml                                        \
+       nm-settings-ifcfg-rh.xsl                                        \
+       $(addsuffix .xml,$(basename $(docbook_generated_man_pages)))    \
        $(docbook_autogenerated_man_pages)
 
 man_MANS += $(configure_generated_man_pages)
-- 
2.1.0



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]