Skip to contentSkip to conversation

gfs2-utils: master - [PATCH 3/3] tunegfs2: Modify Makefiles/configure scripts

Cluster-devel Fabio M. Di Nitto 1 participant 1 message Aug 7, 2010 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 4 lines · goldwyn
gfs2/tune/Makefile.am new file +1 -0
@@ -0,0 +1,19 @@
+MAINTAINERCLEANFILES	= Makefile.in

gfs2/tune/Makefile.am line 11

Quoted 10 lines
gfs2/tune/Makefile.am new file +10 -0
+
+# 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