]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
Fix minor installation problems in the misc's Makefile
authorTheodore Ts'o <tytso@mit.edu>
Mon, 27 Mar 2006 06:10:17 +0000 (01:10 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 27 Mar 2006 06:10:17 +0000 (01:10 -0500)
Make sure $(DESTDIR)/usr/share/man/man5 exists when installing the man
page.  Make sure the compressed version  of the man pages are deleted
when installing the man pages.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/ChangeLog
misc/Makefile.in

index 421498da5f7dbd56a7522b9ecd1207216a4efe99..328b1c3a797246c6d8982c7a4937085b0ee9aabe 100644 (file)
@@ -1,3 +1,10 @@
+2006-03-27  Theodore Ts'o  <tytso@mit.edu>
+
+       * Makefile.in: Make sure $(DESTDIR)/usr/share/man/man5 exists when
+               installing the man page.  Make sure the compressed version
+               of the man pages are deleted when installing the man
+               pages.
+
 2006-03-23  Theodore Ts'o  <tytso@mit.edu>
 
        * mklost+found.c (main): Use a larger counter field so that we can
index f23e49547533dd753f0f6b0be093830acd551362..b01080f71feeab31a2da417037e2494a68fd9e13 100644 (file)
@@ -169,6 +169,7 @@ mke2fs.8: $(DEP_SUBSTITUTE) $(srcdir)/mke2fs.8.in
 mke2fs.conf.5: $(DEP_SUBSTITUTE) $(srcdir)/mke2fs.conf.5.in
        @echo " SUBST $@"
        @$(SUBSTITUTE_UPTIME) $(srcdir)/mke2fs.conf.5.in mke2fs.conf.5
+
 e2label.8: $(DEP_SUBSTITUTE) $(srcdir)/e2label.8.in
        @echo " SUBST $@"
        @$(SUBSTITUTE_UPTIME) $(srcdir)/e2label.8.in e2label.8
@@ -225,7 +226,9 @@ installdirs:
        @echo " MKINSTALLDIRS $(sbindir) $(root_sbindir) $(bindir) $(man1dir) $(man8dir) $(libdir)"
        @$(MKINSTALLDIRS) $(DESTDIR)$(sbindir) \
                $(DESTDIR)$(root_sbindir) $(DESTDIR)$(bindir) \
-               $(DESTDIR)$(man1dir) $(DESTDIR)$(man8dir) $(DESTDIR)$(libdir)
+               $(DESTDIR)$(man1dir) $(DESTDIR)$(man8dir) \
+               $(DESTDIR)$(man1dir) $(DESTDIR)$(man5dir) \
+               $(DESTDIR)$(libdir) $(DESTDIR)/etc
 
 install: all $(SMANPAGES) $(UMANPAGES) installdirs
        @for i in $(SPROGS); do \
@@ -272,12 +275,16 @@ install: all $(SMANPAGES) $(UMANPAGES) installdirs
        @$(LN) -f $(DESTDIR)$(man8dir)/mke2fs.8 \
                $(DESTDIR)$(man8dir)/mkfs.ext3.8
        @for i in $(UMANPAGES); do \
-               $(RM) -f $(DESTDIR)$(man1dir)/$$i.gz; \
+               for j in $(COMPRESS_EXT); do \
+                       $(RM) -f $(DESTDIR)$(man1dir)/$$i.$$j; \
+               done; \
                echo "  INSTALL_DATA $(man1dir)/$$i"; \
                $(INSTALL_DATA) $$i $(DESTDIR)$(man1dir)/$$i; \
        done
        @for i in $(FMANPAGES); do \
-               $(RM) -f $(DESTDIR)$(man1dir)/$$i.gz; \
+               for j in $(COMPRESS_EXT); do \
+                       $(RM) -f $(DESTDIR)$(man5dir)/$$i.$$j; \
+               done; \
                echo "  INSTALL_DATA $(man5dir)/$$i"; \
                $(INSTALL_DATA) $$i $(DESTDIR)$(man5dir)/$$i; \
        done