f2fs-tools: fix build system to make distcheck correctly
authorAnthony G. Basile <blueness@gentoo.org>
Sat, 7 Mar 2015 16:16:54 +0000 (11:16 -0500)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 9 Mar 2015 03:23:13 +0000 (20:23 -0700)
commit5792951de24ebeaa6e8731ad5f3edfb08a442dd9
tree37aea33361c0586d5ad735b2ec2f1ae96d8bf682
parentfd32210229d4ad7d1c916c74a0dfc150aae4c89e
f2fs-tools: fix build system to make distcheck correctly

The current build system fails to `make distcheck` correctly
for two reasons: 1) Some header files are not listed in the
source files for fsck.f2fs and mkfs.f2fs, and so don't make it
into the dist tarball.  2) By setting a default prefix in
configure.ac, the mock install doesn't add the correct prefix
and instead tries to install directly to the file system.

This patch corrects those problems and also adds an autogen.sh
script for convenience.

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
autogen.sh [new file with mode: 0644]
configure.ac
fsck/Makefile.am
mkfs/Makefile.am