diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2006-08-24 21:46:38 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2006-08-24 21:46:38 +0000 |
| commit | 0ce142514f5eb6342c8200bd565415cd19edb79c (patch) | |
| tree | 56160a11d070d5ac4f9592f1de1728082e5e1939 /Makefile | |
| parent | f5cbdbb1b52d615b446a84a18b7779d18820f302 (diff) | |
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
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |
