All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio M. Di Nitto <fdinitto@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH] fence_rackswitch: Add metadata output for fence_rackswitch agent
Date: Mon, 28 Nov 2011 12:20:34 +0100	[thread overview]
Message-ID: <4ED36E82.3060302@redhat.com> (raw)
In-Reply-To: <1322478434-22302-1-git-send-email-mgrac@redhat.com>

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



      reply	other threads:[~2011-11-28 11:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-28 11:07 [Cluster-devel] [PATCH] fence_rackswitch: Add metadata output for fence_rackswitch agent Marek 'marx' Grac
2011-11-28 11:20 ` Fabio M. Di Nitto [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ED36E82.3060302@redhat.com \
    --to=fdinitto@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.