FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

 
 
LinkBack Thread Tools
 
Old 11-28-2011, 10:20 AM
"Fabio M. Di Nitto"
 
Default fence_rackswitch: Add metadata output for fence_rackswitch agent

On 11/28/2011 12:07 PM, Marek 'marx' Grac wrote:
> Adding this feature allow us to generate manual pages directly from XML,
> so both GUI tools and manual pages can see same feature.
>
> Resolves: rhbz#714841 (partial)
> ---
> fence/agents/rackswitch/Makefile.am | 8 +++
> fence/agents/rackswitch/do_rack.c | 46 ++++++++++++++++++-
> fence/agents/rackswitch/fence_rackswitch.8 | 70 ----------------------------
> 3 files changed, 53 insertions(+), 71 deletions(-)
> delete mode 100644 fence/agents/rackswitch/fence_rackswitch.8
>
> diff --git a/fence/agents/rackswitch/Makefile.am b/fence/agents/rackswitch/Makefile.am
> index 29cbef8..b6369e4 100644
> --- a/fence/agents/rackswitch/Makefile.am
> +++ b/fence/agents/rackswitch/Makefile.am
> @@ -9,3 +9,11 @@ noinst_HEADERS = do_rack.h
> fence_rackswitch_SOURCES = do_rack.c
>
> dist_man_MANS = $(TARGET).8
> +
> +fence_rackswitch.8: fence_rackswitch $(top_srcdir)/fence/agents/lib/fence2man.xsl
> + set -e &&
> + ./$^ -o metadata > .$@.tmp &&
> + xsltproc $(top_srcdir)/fence/agents/lib/fence2man.xsl .$@.tmp > $@

IIRC fence_ipmilan has something similar too.

Please make it a .mk snippet and remove the hardcoded rule.

Fabio
 

Thread Tools




All times are GMT. The time now is 03:36 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org