cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: rohara@sourceware.org <rohara@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/fence/agents/scsi Makefile
Date: 9 Jan 2007 19:42:39 -0000	[thread overview]
Message-ID: <20070109194239.11589.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4
Changes by:	rohara at sourceware.org	2007-01-09 19:42:38

Added files:
	fence/agents/scsi: Makefile 

Log message:
	fence_scsi Makefile.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/scsi/Makefile.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=NONE&r2=1.9.6.1

/cvs/cluster/cluster/fence/agents/scsi/Makefile,v  -->  standard output
revision 1.9.6.1
--- cluster/fence/agents/scsi/Makefile
+++ -	2007-01-09 19:42:39.118575000 +0000
@@ -0,0 +1,55 @@
+###############################################################################
+###############################################################################
+##
+##  Copyright (C) 2006 Red Hat, Inc.  All rights reserved.
+##  
+##  This copyrighted material is made available to anyone wishing to use,
+##  modify, copy, or redistribute it subject to the terms and conditions
+##  of the GNU General Public License v.2.
+##
+###############################################################################
+###############################################################################
+
+SOURCE= fence_scsi.pl
+TARGET= fence_scsi
+SCRIPT= scsi_reserve
+
+TEST_SOURCE= fence_scsi_test.pl
+TEST_TARGET= fence_scsi_test
+
+top_srcdir=../..
+include ${top_srcdir}/make/defines.mk
+
+all: $(TARGET) $(TEST_TARGET)
+
+fence_scsi: fence_scsi.pl
+	: > $(TARGET)
+	awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(SOURCE) >> $(TARGET)
+	echo "\$$FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET)
+	${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET)
+	echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
+	awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(SOURCE) >> $(TARGET)
+	chmod +x $(TARGET)
+
+fence_scsi_test: fence_scsi_test.pl
+	: > $(TEST_TARGET)
+	awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(TEST_SOURCE) >> $(TEST_TARGET)
+	echo "\$$FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TEST_TARGET)
+	${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TEST_TARGET)
+	echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TEST_TARGET)
+	awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(TEST_SOURCE) >> $(TEST_TARGET)
+	chmod +x $(TEST_TARGET)
+
+install: all
+	if [ ! -d ${sbindir} ]; then \
+		install -d ${sbindir}; \
+	fi
+	install -m755 ${TARGET} ${sbindir}
+	install -m755 ${TEST_TARGET} ${sbindir}
+	if [ ! -d ${initdir} ]; then \
+		install -d ${initdir}; \
+	fi
+	install -m755 ${SCRIPT} ${initdir}
+
+clean:
+	rm -f $(TARGET) $($TEST_TARGET)



             reply	other threads:[~2007-01-09 19:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-09 19:42 rohara [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-09-21  1:07 [Cluster-devel] cluster/fence/agents/scsi Makefile fabbione
2007-03-20 18:14 lhh
2007-03-20 18:13 lhh
2007-01-10 19:57 cfeist
2006-10-13 20:40 cfeist
2006-10-13 16:24 rohara
2006-10-12 22:02 rohara
2006-10-12 15:57 rohara
2006-10-12 15:51 rohara

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=20070109194239.11589.qmail@sourceware.org \
    --to=rohara@sourceware.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).