diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-09-15 23:32:57 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-09-15 23:33:21 +0200 |
commit | 233735083b79f8d25665b4362ae56d95a010f5fb (patch) | |
tree | 7084581937a3a9832167742ad9da5da31a572d1e /guile | |
parent | 0d34b03f0e5e5eac5e04c795cce2655b52b7cfc9 (diff) | |
download | gnutls-233735083b79f8d25665b4362ae56d95a010f5fb.tar.gz |
guile: Use intermediary files when generating code.
Diffstat (limited to 'guile')
-rw-r--r-- | guile/src/Makefile.am | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/guile/src/Makefile.am b/guile/src/Makefile.am index 28c924f556..40ff26559e 100644 --- a/guile/src/Makefile.am +++ b/guile/src/Makefile.am @@ -80,19 +80,24 @@ endif HAVE_GCC enums.h: $(srcdir)/make-enum-header.scm - $(GUILE_FOR_BUILD) $^ > $@ + $(GUILE_FOR_BUILD) "$^" > "$@.tmp" + mv "$@.tmp" "$@" enum-map.i.c: $(srcdir)/make-enum-map.scm - $(GUILE_FOR_BUILD) $^ > $@ + $(GUILE_FOR_BUILD) "$^" > "$@.tmp" + mv "$@.tmp" "$@" smobs.h: $(srcdir)/make-smob-header.scm - $(GUILE_FOR_BUILD) $^ > $@ + $(GUILE_FOR_BUILD) "$^" > "$@.tmp" + mv "$@.tmp" "$@" smob-types.i.c: $(srcdir)/make-smob-types.scm - $(GUILE_FOR_BUILD) $^ > $@ + $(GUILE_FOR_BUILD) "$^" > "$@.tmp" + mv "$@.tmp" "$@" priorities.i.c: $(srcdir)/make-session-priorities.scm - $(GUILE_FOR_BUILD) $^ > $@ + $(GUILE_FOR_BUILD) "$^" > "$@.tmp" + mv "$@.tmp" "$@" # C file snarfing. |