cluster: STABLE3 - fence_na: first cut at the Makefile

Fabio M. Di Nitto fabbione at fedoraproject.org
Thu Sep 2 04:45:09 UTC 2010


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=15c40f76ea642aa51b856894113c6c83ab8fc384
Commit:        15c40f76ea642aa51b856894113c6c83ab8fc384
Parent:        6933aa5ae9265c6e8706da7c6c17b1bcce71d54c
Author:        Fabio M. Di Nitto <fdinitto at redhat.com>
AuthorDate:    Tue Aug 24 14:31:58 2010 +0200
Committer:     Fabio M. Di Nitto <fdinitto at redhat.com>
CommitterDate: Thu Sep 2 06:42:09 2010 +0200

fence_na: first cut at the Makefile

install lib and manpage

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>
---
 fence/agents/node_assassin/Makefile |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/fence/agents/node_assassin/Makefile b/fence/agents/node_assassin/Makefile
index 76647f6..92e4294 100644
--- a/fence/agents/node_assassin/Makefile
+++ b/fence/agents/node_assassin/Makefile
@@ -1,3 +1,17 @@
 include ../../../make/defines.mk
 
-include $(OBJDIR)/make/fencebuild.mk
+MANTARGET	= fence_na.8
+
+FENCEAGENTSLIB	= $(S)/fence_na.lib
+
+all: $(TARGET) $(MANTARGET)
+
+include $(OBJDIR)/make/clean.mk
+include $(OBJDIR)/make/install.mk
+include $(OBJDIR)/make/uninstall.mk
+
+$(MANTARGET): $(S)/fence_na.pod
+	pod2man --section=8 $< $@
+
+clean: generalclean
+	rm -rf $(MANTARGET)


More information about the cluster-commits mailing list