]> git.proxmox.com Git - mirror_iproute2.git/commit - Makefile
do not ignore build failures in subdirs of iproute2
authorMike Frysinger <vapier@gentoo.org>
Tue, 6 Mar 2007 01:50:49 +0000 (17:50 -0800)
committerStephen Hemminger <shemminger@linux-foundation.org>
Tue, 6 Mar 2007 01:50:49 +0000 (17:50 -0800)
commit95dd5950491a4f60265494969731c019fcd7f9bc
tree4c9d3d60fda79628de281e544156b3b85dba8083
parent892db6942ae0f5f7295b54be8d924020e99a51fc
do not ignore build failures in subdirs of iproute2

if a file fails to compile in a subdir of iproute2 fails (say "tunnel.c" in
the "ip" dir), the top level makefile does not abort:
 all: Config
    @for i in $(SUBDIRS); \
    do $(MAKE) $(MFLAGS) -C $$i; done

the attached patch inserts a 'set -e' so that if the $(MAKE) fails, the all
target fails as well
-mike
Makefile
tc/m_ipt.c