From 2e1accf4fd47e90584b1741ff53bf7eec41d5510 Mon Sep 17 00:00:00 2001 From: Nils Steinger Date: Fri, 25 Jul 2014 15:41:57 +0200 Subject: btrfs-progs: Add uninstall targets to Makefiles. Signed-off-by: Nils Steinger Signed-off-by: David Sterba --- Documentation/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Documentation/Makefile') diff --git a/Documentation/Makefile b/Documentation/Makefile index eafbac7e..ef4f1bdc 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -91,6 +91,10 @@ install-man: man $(INSTALL) -m 644 $(GZ_MAN8) $(DESTDIR)$(man8dir) $(LNS) btrfs-check.8.gz $(DESTDIR)$(man8dir)/btrfsck.8.gz +uninstall: + cd $(DESTDIR)$(man8dir); rm -f btrfs-check.8.gz $(GZ_MAN8) + rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(man8dir) + clean: $(QUIET_RM)$(RM) *.xml *.xml+ *.5 *.5.gz *.8 *.8.gz -- cgit v1.2.3