mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
build: Error out when ‘scmconfig.h’ generation fails.
So far the rule would silently create a broken file. * libguile/Makefile.am (scmconfig.h): Add ‘set -e’.
This commit is contained in:
parent
7f26021c24
commit
a09214fb86
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ gen-scmconfig$(EXEEXT): $(gen_scmconfig_OBJECTS) $(gen_scmconfig_DEPENDENCIES)
|
|||
fi
|
||||
|
||||
scmconfig.h: ${top_builddir}/config.h gen-scmconfig$(EXEEXT)
|
||||
$(AM_V_GEN)(rm -f scmconfig.h.tmp; \
|
||||
$(AM_V_GEN)(set -e; rm -f scmconfig.h.tmp; \
|
||||
cat $(srcdir)/scmconfig.h.top > scmconfig.h.tmp; \
|
||||
./gen-scmconfig$(EXEEXT) >> scmconfig.h.tmp; \
|
||||
chmod 444 scmconfig.h.tmp; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue