top_builddir = .
my_dir = .
INSTALL = @INSTALL@
+MKDIR_P = @MKDIR_P@
@MCONFIG@
@ALL_CMT@EXT2FS_LIB_SUBDIR= lib/ext2fs
LIB_SUBDIRS=lib/et lib/ss $(E2P_LIB_SUBDIR) $(UUID_LIB_SUBDIR) \
- $(BLKID_LIB_SUBDIR) $(SUPPORT_LIB_SUBDIR) $(EXT2FS_LIB_SUBDIR) intl
+ $(BLKID_LIB_SUBDIR) $(SUPPORT_LIB_SUBDIR) $(EXT2FS_LIB_SUBDIR)
-PROG_SUBDIRS=e2fsck $(DEBUGFS_DIR) misc $(RESIZE_DIR) tests/progs po \
- $(E2SCRUB_DIR)
+PROG_SUBDIRS=e2fsck $(DEBUGFS_DIR) misc $(RESIZE_DIR) tests/progs \
+ tests/fuzz po $(E2SCRUB_DIR)
SUBDIRS=util $(LIB_SUBDIRS) $(PROG_SUBDIRS) tests
libs: all-libs-recursive
all-progs-recursive all-libs-recursive:: subs
-rpm:
+e2fsprogs-RHEL-6.spec: $(DEP_SUBSTITUTE) e2fsprogs-RHEL-6.spec.in
+ cd $(top_builddir); CONFIG_FILES=./e2fsprogs-RHEL-6.spec ./config.status
+
+e2fsprogs-SUSE_LINUX-11+.spec: $(DEP_SUBSTITUTE) e2fsprogs-SUSE_LINUX-11+.spec.in
+ cd $(top_builddir); CONFIG_FILES=./e2fsprogs-SUSE_LINUX-11+.spec ./config.status
+
+rpm: e2fsprogs-RHEL-6.spec e2fsprogs-SUSE_LINUX-11+.spec
sh contrib/build-rpm
docs: