[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1357923389-20114-2-git-send-email-vapier@gentoo.org>
Date: Fri, 11 Jan 2013 11:56:29 -0500
From: Mike Frysinger <vapier@...too.org>
To: stephen.hemminger@...tta.com, netdev@...r.kernel.org
Subject: [PATCH 2/2] [iproute2] do not ignore errors in man subdirs
If an error occurs in a man subdir, make sure we propagate it back up.
While we're here, merge the duplicate rules into one.
Signed-off-by: Mike Frysinger <vapier@...too.org>
---
man/Makefile | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/man/Makefile b/man/Makefile
index 9a60fa7..749faa1 100644
--- a/man/Makefile
+++ b/man/Makefile
@@ -4,17 +4,11 @@ INSTALLMAN=install -m 0644
SUBDIRS = man3 man7 man8
-all:
- @for subdir in $(SUBDIRS); do $(MAKE) -C $$subdir; done
+all clean install:
+ @for subdir in $(SUBDIRS); do $(MAKE) -C $$subdir $@ || exit $$?; done
distclean: clean
-clean:
- @for subdir in $(SUBDIRS); do $(MAKE) -C $$subdir clean; done
-
-install:
- @for subdir in $(SUBDIRS); do $(MAKE) -C $$subdir install; done
-
.PHONY: install clean distclean
.EXPORT_ALL_VARIABLES:
--
1.8.0.2
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists