From 1f15ba003446a741c0a7295ab0eaaed7fce8f7d2 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Tue, 27 May 2014 12:24:33 -0400 Subject: [PATCH] lib/ext2fs: clean and build ext2_types.h as necessary Signed-off-by: Theodore Ts'o --- lib/ext2fs/Makefile.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/ext2fs/Makefile.in b/lib/ext2fs/Makefile.in index e5367fe..7bb85c0 100644 --- a/lib/ext2fs/Makefile.in +++ b/lib/ext2fs/Makefile.in @@ -512,7 +512,8 @@ clean:: tst_inline_data tst_inode_size tst_bitmaps_cmd.c \ ext2_tdbtool mkjournal debug_cmds.c tst_cmds.c extent_cmds.c \ ../libext2fs.a ../libext2fs_p.a ../libext2fs_chk.a \ - crc32c_table.h gen_crc32ctable tst_crc32c tst_libext2fs + crc32c_table.h gen_crc32ctable tst_crc32c tst_libext2fs \ + ext2fs.pc ext2_types.h mostlyclean:: clean distclean:: clean @@ -534,6 +535,10 @@ crc32c_table.h: gen_crc32ctable $(E) " GEN32CTABLE $@" $(Q) ./gen_crc32ctable > crc32c_table.h +$(top_builddir)/$(my_dir)/ext2_types.h: $(srcdir)/ext2_types.h.in \ + $(top_builddir)/config.status + cd $(top_builddir); CONFIG_FILES=$(my_dir)/ext2_types.h ./config.status + # +++ Dependency line eater +++ # # Makefile dependencies follow. This must be the last section in -- 1.8.3.1