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

goldwyn goldwyn at fedoraproject.org
Sat Aug 7 02:43:55 UTC 2010


Gitweb:        http://git.fedorahosted.org/git/gfs2-utils.git?p=gfs2-utils.git;a=commitdiff;h=03034f8b958005aa81debe456020a4c80ca0a6dd
Commit:        03034f8b958005aa81debe456020a4c80ca0a6dd
Parent:        fb6372ed083c08c0e66f7f7ebd5bdce64f220921
Author:        Goldwyn Rodrigues <rgoldwyn at gmail.com>
AuthorDate:    Fri Aug 6 21:26:21 2010 -0500
Committer:     Goldwyn Rodrigues <rgoldwyn at gmail.com>
CommitterDate: Fri Aug 6 21:39:47 2010 -0500

[PATCH 3/3] tunegfs2: Modify Makefiles/configure scripts

rhbz#505061
---
 configure.ac          |    1 +
 gfs2/Makefile.am      |    2 +-
 gfs2/tune/Makefile.am |   19 +++++++++++++++++++
 3 files changed, 21 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index bb4fc13..10bcc95 100644
--- a/configure.ac
+++ b/configure.ac
@@ -278,6 +278,7 @@ AC_CONFIG_FILES([Makefile
 		 gfs2/mount/Makefile
 		 gfs2/quota/Makefile
 		 gfs2/tool/Makefile
+		 gfs2/tune/Makefile
 		 gfs2/man/Makefile
 		 doc/Makefile
 		 ])
diff --git a/gfs2/Makefile.am b/gfs2/Makefile.am
index d7c969d..9116bd3 100644
--- a/gfs2/Makefile.am
+++ b/gfs2/Makefile.am
@@ -1,4 +1,4 @@
 MAINTAINERCLEANFILES	= Makefile.in
 
 SUBDIRS			= libgfs2 convert edit fsck mkfs mount quota tool man \
-			  include #init.d 
+			  tune include #init.d 
diff --git a/gfs2/tune/Makefile.am b/gfs2/tune/Makefile.am
new file mode 100644
index 0000000..e11189b
--- /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
+
+noinst_HEADERS		= tunegfs2.h
+
+tunegfs2_SOURCES	= main.c super.c
+
+tunegfs2_CPPFLAGS	= -D_FILE_OFFSET_BITS=64 -DHELPER_PROGRAM \
+			  -I$(top_srcdir)/gfs2/include \
+			  -I$(top_srcdir)/group/include


More information about the cluster-commits mailing list