From 482afc442d98b5f8d8571cfa2c7047907066c07d Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Thu, 31 Oct 2002 03:32:34 -0500 Subject: [PATCH] Makefile.in (install): Search all compression extensions when deleting old man pages. --- ChangeLog | 4 ++++ MCONFIG.in | 2 ++ debugfs/ChangeLog | 5 +++++ debugfs/Makefile.in | 4 +++- e2fsck/ChangeLog | 3 +++ e2fsck/Makefile.in | 4 +++- misc/ChangeLog | 3 +++ misc/Makefile.in | 4 +++- resize/ChangeLog | 3 +++ resize/Makefile.in | 4 +++- 10 files changed, 32 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 32d975f..8637701 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-10-30 Theodore Ts'o + + * MCONFIG.in (COMPRESS_EXT): Declare all compression extensions + 2001-09-24 Theodore Tso * Release of E2fsprogs 1.29 diff --git a/MCONFIG.in b/MCONFIG.in index 724a9dd..4847cc4 100644 --- a/MCONFIG.in +++ b/MCONFIG.in @@ -6,6 +6,8 @@ check:: SHELL = /bin/sh +COMPRESS_EXT = gz bz2 bz Z + prefix = @prefix@ root_prefix = @root_prefix@ exec_prefix = @exec_prefix@ diff --git a/debugfs/ChangeLog b/debugfs/ChangeLog index 2de14f5..71b1909 100644 --- a/debugfs/ChangeLog +++ b/debugfs/ChangeLog @@ -1,3 +1,8 @@ +2002-10-30 Theodore Ts'o + + * Makefile.in (install): Search all compression extensions when + deleting old man pages. + 2002-10-13 Theodore Ts'o * debugfs.h, htree.c, setsuper.c: Fix gcc -Wall nits. diff --git a/debugfs/Makefile.in b/debugfs/Makefile.in index c3811fd..5918a9d 100644 --- a/debugfs/Makefile.in +++ b/debugfs/Makefile.in @@ -51,7 +51,9 @@ install: $(PROGS) $(MANPAGES) installdirs $(STRIP) $(DESTDIR)$(root_sbindir)/$$i; \ done for i in $(MANPAGES); do \ - $(RM) -f $(DESTDIR)$(man8dir)/$$i.gz; \ + for j in $(COMPRESS_EXT); do \ + $(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \ + done; \ $(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \ done diff --git a/e2fsck/ChangeLog b/e2fsck/ChangeLog index f781678..9fbf845 100644 --- a/e2fsck/ChangeLog +++ b/e2fsck/ChangeLog @@ -1,5 +1,8 @@ 2002-10-30 Theodore Ts'o + * Makefile.in (install): Search all compression extensions when + deleting old man pages. + * pass1.c (mark_table_blocks): Fix bug in meta_bg support; only mark blocks legacy group descriptor blocks up to s_first_meta_bg. diff --git a/e2fsck/Makefile.in b/e2fsck/Makefile.in index 4e78d8c..f16e392 100644 --- a/e2fsck/Makefile.in +++ b/e2fsck/Makefile.in @@ -150,7 +150,9 @@ install: $(PROGS) $(MANPAGES) installdirs $(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \ $(DESTDIR)$(root_sbindir)/fsck.ext3 for i in $(MANPAGES); do \ - $(RM) -f $(DESTDIR)$(man8dir)/$$i.gz; \ + for j in $(COMPRESS_EXT); do \ + $(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \ + done; \ $(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \ done $(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 $(DESTDIR)$(man8dir)/fsck.ext2.8 diff --git a/misc/ChangeLog b/misc/ChangeLog index 57e6bc1..f38ceaa 100644 --- a/misc/ChangeLog +++ b/misc/ChangeLog @@ -1,5 +1,8 @@ 2002-10-30 Theodore Ts'o + * Makefile.in (install): Search all compression extensions when + deleting old man pages. + * dumpe2fs.c (list_desc): Fix bug in algorithm which determined which blocks are used as backup superblock and block group descriptors. diff --git a/misc/Makefile.in b/misc/Makefile.in index bc2bb75..8536c5a 100644 --- a/misc/Makefile.in +++ b/misc/Makefile.in @@ -167,7 +167,9 @@ install: all $(SMANPAGES) $(UMANPAGES) installdirs $(STRIP) $(DESTDIR)$(bindir)/$$i; \ done for i in $(SMANPAGES); do \ - $(RM) -f $(DESTDIR)$(man8dir)/$$i.gz; \ + for j in $(COMPRESS_EXT); do \ + $(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \ + done; \ $(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \ done $(RM) -f $(DESTDIR)$(man8dir)/mkfs.ext2.8.gz \ diff --git a/resize/ChangeLog b/resize/ChangeLog index 54f0ae9..dc65274 100644 --- a/resize/ChangeLog +++ b/resize/ChangeLog @@ -1,5 +1,8 @@ 2002-10-30 Theodore Ts'o + * Makefile.in (install): Search all compression extensions when + deleting old man pages. + * resize2fs.c (adjust_superblock, mark_table_blocks, blocks_to_move): Add support for resizing filesystems that use the meta block group layout. diff --git a/resize/Makefile.in b/resize/Makefile.in index 20c747c..3ad2ceb 100644 --- a/resize/Makefile.in +++ b/resize/Makefile.in @@ -59,7 +59,9 @@ install: $(PROGS) $(MANPAGES) installdirs $(STRIP) $(DESTDIR)$(root_sbindir)/$$i; \ done for i in $(MANPAGES); do \ - $(RM) -f $(DESTDIR)$(man8dir)/$$i.gz; \ + for j in $(COMPRESS_EXT); do \ + $(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \ + done; \ $(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \ done -- 1.8.3.1