changeset 2708:6aef3ede2ec5

Trap build errors Without this fix the make would fail on missing symbols, and this instead makes it fail already when gdk_pixbuf_csource is faulty.
author Andreas Rönnquist <andreas@ronnquist.net>
date Fri, 12 Jan 2018 15:24:36 +0100
parents 8ba86a100c53
children d7f6f1ce57eb
files src/Makefile.am
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/Makefile.am	Mon Jan 01 13:40:30 2018 +0100
+++ b/src/Makefile.am	Fri Jan 12 15:24:36 2018 +0100
@@ -64,7 +64,7 @@
 	 echo '#ifndef UI_ICONS_H'; \
 	 echo '#define UI_ICONS_H'; echo; \
 	 $(GDK_PIXBUF_CSOURCE) --raw --extern --build-list $(ICON_PAIRS); \
-	 echo '#endif /* UI_ICONS_H */'" > $@ || echo "!!! Failed to generate $@ !!!"
+	 echo '#endif /* UI_ICONS_H */'" > $@ || { echo "!!! Failed to generate $@ !!!"; exit 1; }
 
 ClayRGB1998_icc.h: ClayRGB1998.icc
 	echo "/*" > $@