From 0af9573e2a9a78f05a76fa8653a7539b606ce4d6 Mon Sep 17 00:00:00 2001 From: Matt Birkholz Date: Sat, 28 May 2016 13:40:18 -0700 Subject: [PATCH] gtk: Do not ignore an error in compile.sh. --- src/cairo/Makefile.am | 2 +- src/gl/Makefile.am | 2 +- src/glib/Makefile.am | 2 +- src/gtk-screen/Makefile.am | 2 +- src/gtk/Makefile.am | 2 +- src/pango/Makefile.am | 2 +- src/planetarium/Makefile.am | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/cairo/Makefile.am b/src/cairo/Makefile.am index de8650ce8..8ffd47821 100644 --- a/src/cairo/Makefile.am +++ b/src/cairo/Makefile.am @@ -80,7 +80,7 @@ cairo-graphics.com: stamp-scheme cairo-@MIT_SCHEME_OS_SUFFIX@.pkd: stamp-scheme stamp-scheme: stamp-shim $(sources) cairo.pkg touch stamp-scheme - ./compile.sh || rm stamp-scheme + if ! ./compile.sh; then rm stamp-scheme; exit 1; fi CLEANFILES = cairo-const* cairo-shim.c CLEANFILES += *.bin *.ext *.com *.bci *.moc *.fni *.crf *.fre *.pkd diff --git a/src/gl/Makefile.am b/src/gl/Makefile.am index 30f468529..f7be7c146 100644 --- a/src/gl/Makefile.am +++ b/src/gl/Makefile.am @@ -79,7 +79,7 @@ gl.com: stamp-scheme gl-@MIT_SCHEME_OS_SUFFIX@.pkd: stamp-scheme stamp-scheme: stamp-shim $(sources) gl.pkg touch stamp-scheme - ./compile.sh || rm stamp-scheme + if ! ./compile.sh; then rm stamp-scheme; exit 1; fi CLEANFILES = gl-const* gl-shim.c CLEANFILES += *.bin *.ext *.com *.bci *.moc *.fni *.crf *.fre *.pkd diff --git a/src/glib/Makefile.am b/src/glib/Makefile.am index f0e4ca3a4..034f2c8f5 100644 --- a/src/glib/Makefile.am +++ b/src/glib/Makefile.am @@ -93,7 +93,7 @@ glib-thread.com: stamp-scheme glib-@MIT_SCHEME_OS_SUFFIX@.pkd: stamp-scheme stamp-scheme: stamp-shim $(sources) glib.pkg touch stamp-scheme - ./compile.sh || rm stamp-scheme + if ! ./compile.sh; then rm stamp-scheme; exit 1; fi CLEANFILES = glib-const* glib-shim.c CLEANFILES += *.bin *.ext *.com *.bci *.moc *.fni *.crf *.fre *.pkd diff --git a/src/gtk-screen/Makefile.am b/src/gtk-screen/Makefile.am index 7d737ead9..65d0d2288 100644 --- a/src/gtk-screen/Makefile.am +++ b/src/gtk-screen/Makefile.am @@ -48,7 +48,7 @@ gtk-screen.com: stamp-scheme gtk-screen-@MIT_SCHEME_OS_SUFFIX@.pkd: stamp-scheme stamp-scheme: $(sources) gtk-screen.pkg touch stamp-scheme - ./compile.sh || rm stamp-scheme + if ! ./compile.sh; then rm stamp-scheme; exit 1; fi CLEANFILES = *.bin *.ext *.com *.bci *.moc *.fni *.crf *.fre *.pkd CLEANFILES += make.scm diff --git a/src/gtk/Makefile.am b/src/gtk/Makefile.am index 4e40a3409..d08be760f 100644 --- a/src/gtk/Makefile.am +++ b/src/gtk/Makefile.am @@ -128,7 +128,7 @@ swat-pole-zero.com: stamp-scheme gtk-@MIT_SCHEME_OS_SUFFIX@.pkd: stamp-scheme stamp-scheme: stamp-shim $(sources) gtk.pkg touch stamp-scheme - ./compile.sh || rm stamp-scheme + if ! ./compile.sh; then rm stamp-scheme; exit 1; fi CLEANFILES = gtk-const* gtk-shim.c CLEANFILES += *.bin *.ext *.com *.bci *.moc *.fni *.crf *.fre *.pkd diff --git a/src/pango/Makefile.am b/src/pango/Makefile.am index 9a2116e94..ccaf69780 100644 --- a/src/pango/Makefile.am +++ b/src/pango/Makefile.am @@ -76,7 +76,7 @@ pango.com: stamp-scheme pango-@MIT_SCHEME_OS_SUFFIX@.pkd: stamp-scheme stamp-scheme: stamp-shim $(sources) pango.pkg touch stamp-scheme - ./compile.sh || rm stamp-scheme + if ! ./compile.sh; then rm stamp-scheme; exit 1; fi CLEANFILES = pango-const* pango-shim.c CLEANFILES += *.bin *.ext *.com *.bci *.moc *.fni *.crf *.fre *.pkd diff --git a/src/planetarium/Makefile.am b/src/planetarium/Makefile.am index 3d838b88a..e99e742f4 100644 --- a/src/planetarium/Makefile.am +++ b/src/planetarium/Makefile.am @@ -115,7 +115,7 @@ mit-@MIT_SCHEME_OS_SUFFIX@.pkd: stamp-scheme mit-3d-@MIT_SCHEME_OS_SUFFIX@.pkd: stamp-scheme stamp-scheme: $(sources) mit.pkg mit-3d.pkg touch stamp-scheme - ./mit-compile.sh || rm stamp-scheme + if ! ./mit-compile.sh; then rm stamp-scheme; exit 1; fi CLEANFILES = *.bin *.ext *.com *.bci *.moc *.fni *.crf *.fre *.pkd CLEANFILES += make.scm -- 2.25.1