cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: cfeist@sourceware.org <cfeist@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/fence configure agents/scsi/Makefile m ...
Date: 12 Oct 2006 16:29:39 -0000	[thread overview]
Message-ID: <20061012162939.5629.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	cfeist at sourceware.org	2006-10-12 16:29:34

Modified files:
	fence          : configure 
	fence/agents/scsi: Makefile 
	fence/make     : defines.mk.input 

Log message:
	Added changes to support installing init scripts w/ brew build.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/configure.diff?cvsroot=cluster&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/scsi/Makefile.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/make/defines.mk.input.diff?cvsroot=cluster&r1=1.4&r2=1.5

--- cluster/fence/configure	2006/10/05 18:48:58	1.7
+++ cluster/fence/configure	2006/10/12 16:29:34	1.8
@@ -33,6 +33,7 @@
 	mandir  => \$mandir,
 	prefix => \$prefix,
 	sbindir => \$sbindir,
+	initdir => \$initdir,
 	enable_xen => \$enable_xen,
 	verbose => \$verbose
 );
@@ -48,6 +49,7 @@
 		    'mandir=s',
 		    'prefix=s',
 		    'sbindir=s',
+		    'initdir=s',
 		    'sharedir=s',
 		    'enable_xen',
 		    'verbose');
@@ -73,6 +75,7 @@
   print "--mandir=\tthe base directory for man pages.  (Default: /usr/share/man)\n";
   print "--prefix=\tthe base directory to install into.  (Default: /)\n";
   print "--sbindir=\tthe base directory for system binaries.  (Default: /sbin)\n";
+  print "--initdir=\tthe base directory for init scripts.  (Default: /etc/init.d)\n";
   print "--sharedir=\tthe base directory for misc cluster files.  (Default: /usr/share/cluster)\n";
   print "--enable_xen\t\tEnable building of Xen-specific pieces\n";
   print "--verbose\t\tVerbose output\n";
@@ -105,6 +108,9 @@
 if (!$sbindir) {
   $sbindir="${prefix}/sbin";
 }
+if (!$initdir) {
+  $initdir="${prefix}/etc/init.d";
+}
 if (!$sharedir) {
   $sharedir="${prefix}/usr/share/cluster";
 }
@@ -129,6 +135,7 @@
   $_ =~ s/\@CCSLIBDIR\@/$ccslibdir/;
   $_ =~ s/\@MANDIR\@/$mandir/;
   $_ =~ s/\@SBINDIR\@/$sbindir/;
+  $_ =~ s/\@INITDIR\@/$initdir/;
   $_ =~ s/\@SHAREDIR\@/$sharedir/;
   $_ =~ s/\@ENABLE_XEN\@/$enable_xen/;
   print OFILE "$_\n";
--- cluster/fence/agents/scsi/Makefile	2006/10/12 15:57:06	1.4
+++ cluster/fence/agents/scsi/Makefile	2006/10/12 16:29:34	1.5
@@ -34,7 +34,7 @@
 		install -d ${sbindir}; \
 	fi
 	install -m755 ${TARGET} ${sbindir}
-	install -m755 ${SCRIPT} /etc/init.d/
+	install -m755 ${SCRIPT} ${initdir}
 
 clean:
 	rm -f $(TARGET) $(SCRIPT)
--- cluster/fence/make/defines.mk.input	2006/10/05 18:48:58	1.4
+++ cluster/fence/make/defines.mk.input	2006/10/12 16:29:34	1.5
@@ -20,6 +20,7 @@
 cmanincdir ?= ${DESTDIR}@CMANINCDIR@
 ccsincdir ?= ${DESTDIR}@CCSINCDIR@
 enable_xen ?= @ENABLE_XEN@
+initdir ?= ${DESTDIR}/@INITDIR@
 
 # Where's the kernel?
 KERNEL_SRC = @KERNEL_SRC@



                 reply	other threads:[~2006-10-12 16:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20061012162939.5629.qmail@sourceware.org \
    --to=cfeist@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).