[Cluster-devel] gfs2-utils: master - [PATCH 3/3] tunegfs2: Modify Makefiles/configure scripts
Fabio M. Di Nitto
fdinitto at redhat.com
Sat Aug 7 04:19:46 UTC 2010
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
More information about the Cluster-devel
mailing list