From ebf25ff6ab2f99390c3610cc7df9cdffba9208bd Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Sat, 7 Mar 2015 11:16:54 -0500 Subject: 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. Change-Id: I0d169a4114664465ce6722707ecfaece65ae157b Signed-off-by: Anthony G. Basile Signed-off-by: Jaegeuk Kim --- fsck/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fsck/Makefile.am') diff --git a/fsck/Makefile.am b/fsck/Makefile.am index 3258e47..6c19e11 100644 --- a/fsck/Makefile.am +++ b/fsck/Makefile.am @@ -3,7 +3,7 @@ AM_CPPFLAGS = ${libuuid_CFLAGS} -I$(top_srcdir)/include AM_CFLAGS = -Wall sbin_PROGRAMS = fsck.f2fs -fsck_f2fs_SOURCES = main.c fsck.c dump.c mount.c +fsck_f2fs_SOURCES = main.c fsck.c dump.c mount.c f2fs.h fsck.h $(top_srcdir)/include/f2fs_fs.h fsck_f2fs_LDADD = ${libuuid_LIBS} $(top_builddir)/lib/libf2fs.la install-data-hook: -- cgit v1.2.3