From: Ben Walton Date: Wed, 18 May 2011 03:01:42 +0000 (-0400) Subject: Alter the manpages uninstall targetto handle optional compression X-Git-Tag: Release-7.0.0~896 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;ds=sidebyside;h=109140e43aabeebfc791d22f11aada03a237f796;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: