From deffe538ee04aa7e30feefd8efde822d310ec8b0 Mon Sep 17 00:00:00 2001 From: Akihiro MOTOKI Date: Wed, 11 Jul 2012 15:13:04 +0900 Subject: [PATCH] LDP: (Makefile) Avoid an error if perkamon/man-pages is a directory. perkamon/man-pages can be a directory or a symlink. Removing a directory fails in the previous version of Makefile. This commit avoids this error. --- manual/LDP_man-pages/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manual/LDP_man-pages/Makefile b/manual/LDP_man-pages/Makefile index 276325d1..d2700449 100644 --- a/manual/LDP_man-pages/Makefile +++ b/manual/LDP_man-pages/Makefile @@ -77,7 +77,7 @@ stamp-jm-setup: clean-setup: $(RM) stamp-jm-setup - $(RM) $(PERKAMON_DIR)/man-pages + $(RM) $(PERKAMON_DIR)/man-pages || true $(RM) $(PERKAMON_DIR)/stamp-* $(RM) -rf $(PERKAMON_DIR)/build find $(PERKAMON_DIR) -type l | xargs $(RM) -- 2.11.0