From 109140e43aabeebfc791d22f11aada03a237f796 Mon Sep 17 00:00:00 2001 From: Ben Walton Date: Tue, 17 May 2011 23:01:42 -0400 Subject: [PATCH] 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 --- bacula/manpages/Makefile.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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: -- 2.39.5