Aha, I was just trying to fix this (with the debian build).  I had to 
use dist_man_MANS, though, since the *.8 files don't have to be built.  
Pushed.

Thanks!
sage


diff --git a/man/Makefile.am b/man/Makefile.am
index 56bc6e1..c721023 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -1,6 +1,6 @@
 AUTOMAKE_OPTIONS = gnu
 
-man_MANS = \
+dist_man_MANS = \
        cosd.8 \
        cmds.8 \
        cmon.8 \
@@ -17,5 +17,3 @@ man_MANS = \
        mount.ceph.8 \
        radosgw.8 \
        radosgw_admin.8
-
-dist_man_MANS = $(man_MANS)

On Tue, 9 Feb 2010, Josef Bacik wrote:

> While creating a spec file for CEPH, rpmbuild was complaining because make
> install was copying the manpages in, and then copying them in again.  This is
> because man_MANS and dist_man_MANS are supposed to be two seperate lists that 
> do
> not overlap.  So make install would install all the man pages in the man_MANS
> list and the dist_man_MANS list.  This patch kills the dist_man_MANS thing to
> keep this from happening.  This made rpmbuild happy, which makes me happy :).
> Thanks,
> 
> Signed-off-by: Josef Bacik <jo...@redhat.com>
> ---
>  man/Makefile.am |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/man/Makefile.am b/man/Makefile.am
> index 56bc6e1..c3e139f 100644
> --- a/man/Makefile.am
> +++ b/man/Makefile.am
> @@ -17,5 +17,3 @@ man_MANS = \
>       mount.ceph.8 \
>       radosgw.8 \
>       radosgw_admin.8
> -
> -dist_man_MANS = $(man_MANS)
> \ No newline at end of file
> -- 
> 1.6.2.5
> 
> 
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> Ceph-devel mailing list
> Ceph-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ceph-devel
> 
> 

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Ceph-devel mailing list
Ceph-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ceph-devel

Reply via email to