From 0ce142514f5eb6342c8200bd565415cd19edb79c Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 24 Aug 2006 21:46:38 +0000 Subject: Use "exit 1" instead of "break" to stop a build - that allows automated build tools to better detect build errors... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5357 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4c90ab132..48893c4c7 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ DIRS = $(IMAGEDIRS) src fluid test documentation all: makeinclude for dir in $(DIRS); do\ echo "=== making $$dir ===";\ - (cd $$dir; $(MAKE) $(MFLAGS)) || break;\ + (cd $$dir; $(MAKE) $(MFLAGS)) || exit 1;\ done install: makeinclude @@ -42,7 +42,7 @@ install: makeinclude -chmod 755 $(DESTDIR)$(bindir)/fltk-config for dir in FL $(DIRS); do\ echo "=== installing $$dir ===";\ - (cd $$dir; $(MAKE) $(MFLAGS) install) || break;\ + (cd $$dir; $(MAKE) $(MFLAGS) install) || exit 1;\ done install-desktop: makeinclude @@ -54,7 +54,7 @@ uninstall: makeinclude $(RM) $(DESTDIR)$(bindir)/fltk-config for dir in FL $(DIRS); do\ echo "=== uninstalling $$dir ===";\ - (cd $$dir; $(MAKE) $(MFLAGS) uninstall) || break;\ + (cd $$dir; $(MAKE) $(MFLAGS) uninstall) || exit 1;\ done uninstall-desktop: makeinclude @@ -65,14 +65,14 @@ uninstall-desktop: makeinclude depend: makeinclude for dir in $(DIRS); do\ echo "=== making dependencies in $$dir ===";\ - (cd $$dir; $(MAKE) $(MFLAGS) depend) || break;\ + (cd $$dir; $(MAKE) $(MFLAGS) depend) || exit 1;\ done clean: -$(RM) core *.o for dir in $(DIRS); do\ echo "=== cleaning $$dir ===";\ - (cd $$dir; $(MAKE) $(MFLAGS) clean) || break;\ + (cd $$dir; $(MAKE) $(MFLAGS) clean) || exit 1;\ done distclean: clean -- cgit v1.2.3