Gitweb:
http://git.fedorahosted.org/git/?p=fence-agents.git;a=commitdiff;h=076b9d...
Commit: 076b9def6a956a3b634f8475f8ddece22fc8c271
Parent: f8ef7d655c55c13abd26e569a5ab3c7129727c33
Author: Marek 'marx' Grac <mgrac(a)redhat.com>
AuthorDate: Thu Sep 18 15:16:40 2014 +0200
Committer: Marek 'marx' Grac <mgrac(a)redhat.com>
CommitterDate: Thu Sep 18 15:16:40 2014 +0200
[build] Create a new target for wiki export
Create a list of arguments in wiki format
---
make/fenceman.mk | 3 ++-
make/fencemanc.mk | 3 ++-
make/fencemanperl.mk | 3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/make/fenceman.mk b/make/fenceman.mk
index 163fe88..c3360b7 100644
--- a/make/fenceman.mk
+++ b/make/fenceman.mk
@@ -4,6 +4,7 @@
python $(@:%.8=%) -o metadata > .$@.tmp && \
xmllint --noout --relaxng $(abs_srcdir)/../lib/metadata.rng .$@.tmp && \
xsltproc $(top_srcdir)/fence/agents/lib/fence2man.xsl .$@.tmp > $@
+ xsltproc $(top_srcdir)/fence/agents/lib/fence2wiki.xsl .$@.tmp | grep -v
'<?xml' > $(@:%.8=%.wiki)
clean-man:
- rm -f *.8 .*.8.tmp
+ rm -f *.8 .*.8.tmp *.wiki
diff --git a/make/fencemanc.mk b/make/fencemanc.mk
index 27e1aae..53156c5 100644
--- a/make/fencemanc.mk
+++ b/make/fencemanc.mk
@@ -3,6 +3,7 @@
./$^ -o metadata > .$@.tmp && \
xmllint --noout --relaxng $(top_srcdir)/fence/agents/lib/metadata.rng .$@.tmp &&
\
xsltproc $(top_srcdir)/fence/agents/lib/fence2man.xsl .$@.tmp > $@
+ xsltproc $(top_srcdir)/fence/agents/lib/fence2wiki.xsl .$@.tmp | grep -v
'<?xml' > $(@:%.8=%.wiki)
clean-man:
- rm -f *.8 .*.8.tmp
+ rm -f *.8 .*.8.tmp *.wiki
diff --git a/make/fencemanperl.mk b/make/fencemanperl.mk
index ed7c9cc..0141aa8 100644
--- a/make/fencemanperl.mk
+++ b/make/fencemanperl.mk
@@ -3,6 +3,7 @@
perl $(TARGET) -o metadata > .$@.tmp && \
xmllint --noout --relaxng $(top_srcdir)/fence/agents/lib/metadata.rng .$@.tmp &&
\
xsltproc $(top_srcdir)/fence/agents/lib/fence2man.xsl .$@.tmp > $@
+ xsltproc $(top_srcdir)/fence/agents/lib/fence2wiki.xsl .$@.tmp | grep -v
'<?xml' > $(@:%.8=%.wiki)
clean-man:
- rm -f *.8 .*.8.tmp
+ rm -f *.8 .*.8.tmp *.wiki