From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio M. Di Nitto Date: Sat, 07 Aug 2010 06:19:46 +0200 Subject: [Cluster-devel] gfs2-utils: master - [PATCH 3/3] tunegfs2: Modify Makefiles/configure scripts In-Reply-To: <20100807024355.9003812057E@lists.fedorahosted.org> References: <20100807024355.9003812057E@lists.fedorahosted.org> Message-ID: <4C5CDEE2.6030003@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On 08/07/2010 04:43 AM, goldwyn wrote: > --- /dev/null > +++ b/gfs2/tune/Makefile.am > @@ -0,0 +1,19 @@ > +MAINTAINERCLEANFILES = Makefile.in > + > +# When an exec_prefix setting would have us install into /usr/sbin, > +# use /sbin instead. > +# Accept an existing sbindir value of /usr/sbin (probably for older automake), > +# or an empty value, for automake-1.11 and newer. > +sbindir := $(shell rpl=0; test '$(exec_prefix):$(sbindir)' = /usr:/usr/sbin \ > + || test '$(exec_prefix):$(sbindir)' = /usr:&& rpl=1; \ > + test $$rpl = 1&& echo /sbin || echo '$(exec_prefix)/sbin') > + > +sbin_PROGRAMS = tunegfs2 Hmm no, this specific snippet is required only for tools that need to be installed in /sbin such as mount.gfs2 or fsck.gfs2 that are expected to be there. tunegfs2 belongs to /usr/sbin admin tools. Fabio