[PATCH v2 4/5] erofs-utils: add autogen.sh

Gao Xiang gaoxiang25 at huawei.com
Wed Dec 19 15:38:43 AEDT 2018


In order to avoid type too many commands by hand.

Signed-off-by: Gao Xiang <gaoxiang25 at huawei.com>
---
 README     | 2 +-
 autogen.sh | 8 ++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)
 create mode 100755 autogen.sh

diff --git a/README b/README
index 79a1126..4e34159 100644
--- a/README
+++ b/README
@@ -22,7 +22,7 @@ How to build with lz4 static library
 eg. if lz4 lib has been installed into fold of /usr/local/lib
 	./configure --with-lz4=/usr/local/lib && make
 Maybe you should run this first:
-	libtoolize && aclocal && autoconf && autoheader && automake --add-missing
+	./autogen.sh
 
 Usage:
 $ ./mkfs.erofs
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..117f4bd
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+aclocal && \
+autoheader && \
+autoconf && \
+libtoolize && \
+automake -a -c
+
-- 
2.14.4



More information about the Linux-erofs mailing list