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: 12 Oct 2006 15:51:54 -0000	[thread overview]
Message-ID: <20061012155154.16290.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	rohara at sourceware.org	2006-10-12 15:51:53

Modified files:
	fence/agents/scsi: Makefile 

Log message:
	Add scsi_reserve init script to Makefile so that it gets installed.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/scsi/Makefile.diff?cvsroot=cluster&r1=1.2&r2=1.3

--- cluster/fence/agents/scsi/Makefile	2006/08/11 15:18:09	1.2
+++ cluster/fence/agents/scsi/Makefile	2006/10/12 15:51:53	1.3
@@ -12,11 +12,12 @@
 
 SOURCE= fence_scsi.pl
 TARGET= fence_scsi
+SCRIPT= scsi_reserve
 
 top_srcdir=../..
 include ${top_srcdir}/make/defines.mk
 
-all: $(TARGET)
+all: $(TARGET) $(SCRIPT)
 
 fence_scsi: fence_scsi.pl
 	: > $(TARGET)
@@ -26,12 +27,14 @@
 	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)
+	chmod +x $(SCRIPT)
 
 install: all
 	if [ ! -d ${sbindir} ]; then \
 		install -d ${sbindir}; \
 	fi
 	install -m755 ${TARGET} ${sbindir}
+	install -m755 ${SCRIPT} /etc/init.d/
 
 clean:
-	rm -f $(TARGET)
+	rm -f $(TARGET) $(SCRIPT)



             reply	other threads:[~2006-10-12 15:51 UTC|newest]

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

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=20061012155154.16290.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).