[lxc-devel] [PATCH] Distribute manpages in source tarball

Guido Trotter ultrotter at google.com
Sun Jul 26 12:46:38 UTC 2009


Ship the manpages in the source tarball made by 'make dist', and clean
them up only during the 'make maintainer-clean' step. This allows
distributions not to depend on docbook at lxc build time, because the
manpages are already there.

Signed-off-by: Guido Trotter <ultrotter at quaqua.net>
---
 doc/Makefile.am |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index 1bd7f9f..a40d4a4 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,5 +1,6 @@
 
-EXTRA_DIST = FAQ.txt
+EXTRA_DIST = FAQ.txt \
+	     $(man_MANS)
 
 if ENABLE_DOCBOOK
 man_MANS = \
@@ -33,6 +34,6 @@ man_MANS = \
 
 lxc-%.sgml : common_options.sgml see_also.sgml
 
-clean-local:
+maintainer-clean-local:
 	$(RM) manpage.* *.7 *.5 *.1 $(man_MANS)
 endif
-- 
1.5.6.5





More information about the lxc-devel mailing list