mirror of
https://github.com/nilfs-dev/nilfs-utils.git
synced 2026-01-26 13:43:15 +00:00
nilfs-utils: add autogen script
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
This commit is contained in:
parent
f0d949d08d
commit
1385016db7
8
README
8
README
@ -40,10 +40,10 @@ option is not necessary.
|
||||
$ cd your-work-directory
|
||||
$ git clone git://github.com/nilfs-dev/nilfs-utils.git
|
||||
|
||||
Before compiling the development sources, you need to run
|
||||
autoconf/automake tools. This is not required for packaged sources
|
||||
unless you changed the configuration.
|
||||
Before compiling the development sources, you need to run autogen.sh
|
||||
script. This is not required for packaged sources unless you changed
|
||||
the configuration.
|
||||
|
||||
$ cd nilfs-utils
|
||||
$ aclocal && autoheader && libtoolize -c --force && automake -a -c && autoconf
|
||||
$ ./autogen.sh
|
||||
|
||||
|
||||
26
autogen.sh
Executable file
26
autogen.sh
Executable file
@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Run this before configure
|
||||
#
|
||||
|
||||
die() {
|
||||
echo
|
||||
echo "Error: $*"
|
||||
exit 1
|
||||
}
|
||||
|
||||
aclocal || die "aclocal failed"
|
||||
|
||||
autoheader || die "autoheader failed"
|
||||
|
||||
libtoolize -c --force || die "libtoolize failed"
|
||||
|
||||
automake -a -c || die "automake failed"
|
||||
|
||||
echo
|
||||
echo "Creating configure..."
|
||||
|
||||
autoconf || die "autoconf failed"
|
||||
|
||||
echo
|
||||
echo "Now run './configure' and 'make' to compile nilfs-utils."
|
||||
Loading…
x
Reference in New Issue
Block a user