Skip to contentSkip to conversation

gfs2-utils: Rename README.build to README

PATCH New Andrew Price 1 participant 2 messages Jan 20, 2017 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 gfs2-utils: Rename README.build to README

As there's only one README file in this directory it can just be called README and contain the small amount of various info that needs to be read. Removing the .build extension will also make Pagure render the file as preformatted text.

---
 Makefile.am            | 2 +-
 README.build => README | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename README.build => README (100%)
Makefile.am +1 -1
index 1c4f8ae..adeb56d 100644
@@ -1,4 +1,4 @@
-EXTRA_DIST = autogen.sh README.build
+EXTRA_DIST = autogen.sh README
 
 AUTOMAKE_OPTIONS = foreign
 
README renamed from README.build +0 -0
similarity index 100%
rename from README.build
rename to README
Signature · 1 line
2.9.3
#1 lore raw

PATCH 2/2 gfs2-utils: README file improvements

Add some introductory text, split the info into sections, separate the build requirements from the installation requirements and generally tidy up.

---
 README | 72 ++++++++++++++++++++++++++++++++++++++++++++++--------------------
 1 file changed, 50 insertions(+), 22 deletions(-)
README +50 -22
index d0a21c3..e8ab577 100644
@@ -1,41 +1,69 @@
+gfs2-utils
+----------
 
-To build this source tree, you will need:
+This package contains the tools needed to create, check, manipulate and analyze
+gfs2 filesystems, along with important scripts required to support gfs2
+clusters.
 
- - automake
- - GNU make
- - GCC tool chain
+Build instructions
+------------------
 
-Plus the following libraries:
+The following development packages are required to build gfs2-utils:
 
-    ncurses (for gfs2_edit)
-    gettext
-    bison
-    flex
-    zlib
-    libblkid
-    check (optional, enables the test suite)
+ o autoconf
+ o automake
+ o libtool
+ o GNU make
+ o ncurses
+ o gettext
+ o bison
+ o flex
+ o zlib
+ o libblkid
+ o check (optional, enables the test suite)
+
+The kernel header include/linux/gfs2-ondisk.h and its dependencies are also
+required.
 
 To build gfs2-utils, run the following commands:
 
-    ./autogen.sh
-    ./configure
-    make
+ $ ./autogen.sh
+ $ ./configure
+ $ make
+
+See ./configure --help for more build configuration options.
+
+Test Suite
+----------
+
+To run the test suite, use:
 
-To run the test suite:
+ $ make check
 
-    make check
+See doc/README.tests for more details regarding the test suite.
+
+Installation
+------------
+
+gfs2-utils requires the following libraries:
+
+ o zlib
+ o ncurses
+ o libblkid
 
 To install gfs2-utils, run:
 
-    make install
+ # make install
+
+Support scripts
+---------------
 
 The following scripts (located in gfs2/scripts) are used to complete
 the userland portion of the gfs2 withdraw feature using uevents. They
 will be installed by 'make install' to these directories by default:
 
-	82-gfs2-withdraw.rules in /usr/lib/udev/rules.d/
-	gfs2_withdraw_helper   in /usr/sbin/
+  82-gfs2-withdraw.rules in /usr/lib/udev/rules.d/
+  gfs2_withdraw_helper   in /usr/sbin/
 
-See also doc/README.contributing for details on submitting patches and
-doc/README.tests for more details regarding the test suite.
+See also doc/README.contributing for details on submitting patches.
 
Signature · 1 line
2.9.3