From: Ben Walton Date: Wed, 18 May 2011 03:01:42 +0000 (-0400) Subject: Alter the manpages uninstall targetto handle optional compression X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=85284569c21ccede1ed5caae1024c18242e436ef;p=bacula%2Fbacula Alter the manpages uninstall targetto handle optional compression Now that the manpages may not be compressed, the uninstall target should remove both compressed and uncompressed manpage files from the destination directory. Signed-off-by: Ben Walton --- diff --git a/bacula/manpages/Makefile.in b/bacula/manpages/Makefile.in index b3e4d3e2fe..34ea8f72e0 100644 --- a/bacula/manpages/Makefile.in +++ b/bacula/manpages/Makefile.in @@ -38,10 +38,12 @@ install: install-manpages uninstall: for I in ${MAN8}; \ - do (rm -f $(DESTDIR)$(mandir)/man8/$$I.gz); \ + do (rm -f $(DESTDIR)$(mandir)/man8/$$I.gz; \ + rm -f $(DESTDIR)$(mandir)/man8/$$I); \ done for I in ${MAN1}; \ - do (rm -f $(DESTDIR)$(mandir)/man1/$$I.gz); \ + do (rm -f $(DESTDIR)$(mandir)/man1/$$I.gz; \ + rm -f $(DESTDIR)$(mandir)/man1/$$I); \ done clean: