FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

 
 
LinkBack Thread Tools
 
Old 08-07-2010, 04:19 AM
"Fabio M. Di Nitto"
 
Default tunegfs2: Modify Makefiles/configure scripts

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
 

Thread Tools




All times are GMT. The time now is 03:39 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org