Commit 55eaaeb5 authored by Mike Frysinger's avatar Mike Frysinger Committed by Stephen Hemminger

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: default avatarMike Frysinger <vapier@gentoo.org>
parent 57463073
......@@ -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:
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment