From: Mike Frysinger Date: Fri, 11 Jan 2013 06:56:29 +0000 (+0000) Subject: do not ignore errors in man subdirs X-Git-Tag: v3.8.0~3^2~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55eaaeb57ac6c4ea3fca70715a64dc379ef32ed6;p=thirdparty%2Fiproute2.git 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 --- diff --git a/man/Makefile b/man/Makefile index 9a60fa7c7..749faa11e 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: