]> git.sur5r.net Git - bacula/bacula/commitdiff
Alter the manpages uninstall targetto handle optional compression
authorBen Walton <bwalton@artsci.utoronto.ca>
Wed, 18 May 2011 03:01:42 +0000 (23:01 -0400)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:49:02 +0000 (14:49 +0200)
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 <bwalton@artsci.utoronto.ca>
bacula/manpages/Makefile.in

index b3e4d3e2feb65ad8b51f2a8d174551531ea9e35b..34ea8f72e0cafbf823f015f5b4071f20f5197092 100644 (file)
@@ -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: