This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: SCM_MAGIC_SNARFER
- To: Miroslav Silovic <silovic at zesoi dot fer dot hr>
- Subject: Re: SCM_MAGIC_SNARFER
- From: Jim Blandy <jimb at red-bean dot com>
- Date: 20 Mar 2000 15:26:44 -0500
- Cc: Kalle Olavi Niemitalo <tosi at ees2 dot oulu dot fi>, guile at sourceware dot cygnus dot com
- References: <87snxl4uu9.fsf@PC486.Niemitalo.LAN> <7esnxltyfc.fsf@zesoi.fer.hr>
> While I can't answer this question, you could just do:
>
> guileapi.x: guileapi.c
> touch guileapi.x
> $(GUILE-SNARF) -I. -I$(srcdir) $(CPPFLAGS) $(srcdir)/guileapi.c \
> > guileapi.tmp && mv guileapi.tmp guileapi.x
This doesn't play nice with `make' when the snarfing process
encounters an error. You want to leave the original .x file
unchanged, with the same timestamp, unless the entire process is
successful.