1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 03:30:27 +02:00

[build] Use AM_SILENT_RULES for generating cpp-E.c, cpp-SIG.c.

* libguile/Makefile.am (.syms.c): Prefix first command
  with $(AM_V_GEN); unconditionally silence second command.
This commit is contained in:
Thien-Thi Nguyen 2010-08-19 11:11:25 +02:00
parent 4b02bf47f4
commit bfebf099d9

View file

@ -725,12 +725,13 @@ MKDEP = gcc -M -MG $(DEFS) $(AM_CPPFLAGS) $(CPPFLAGS) $(CFLAGS)
# one-line sed script because some seds (e.g., FreeBSD) don't read
# '\n' as a newline (like GNU sed does). Sad, but true.
.syms.c:
$(AM_V_GEN) \
cat $< | while read sym ; do \
echo "#ifdef $$sym" ; \
echo "scm_c_define (\"$$sym\", scm_from_int ($$sym));" ; \
echo "#endif" ; \
done > $@T
mv $@T $@
@mv $@T $@
# Write $(srcdir)/cpp-{E,SIG}.syms.NEW if there are any not-yet-seen
# ("new" to us) E* or SIG* symbols in <errno.h> or <signal.h>, respectively.