Hav you tried the make library?

https://docs.racket-lang.org/make/index.html?q=make

Den tir. 16. apr. 2019 kl. 21.54 skrev <da...@erl.nu>:

> Hendrik,
>
> What is that you are trying to do, maybe you are misunderstanding some
> concept about make?
>
> It seems to me that the whole point of make is to "run a program"
> whenever
> some of the files have changed.
>
> Regards,
>
> David
>
> On 2019-04-16 21:25, Hendrik Boom wrote:
> > I'm sending this here, not because it's directly related to Racket,
> > nor because i think you all are experts in make or GNU make, but
> > because you are reasonable erudite in language appreciation.
> >
> > I, like many others, have been using a Makefile as a recipe to make a
> > lot of files from other files.
> >
> > The trouble is that a lot of the stanzas are quite repetitive.  I want
> > to refactor.
> >
> > If I were writing this in any other language then make,  i would just
> > define a function with about three or four short parameters and call it
> > many times, each time doing the equivalent of several of these stanzas.
> >
> > Roughly speaking, the abstraction tools of GNU Make are terrible.
> >
> > I'd like to ask you, what other tools might you actually recommend to
> > used in addition to make, or instead of it, that make the build
> > process more like normal programming?
> >
> > If I could get make to run a program to make another makefile and then
> > execute that new makefile, I suppose I could write the program that
> > makes all the repetitive (but not quite the same) stanzas.  But that
> > would likely make the build process somewhat obscure.
> >
> > Sure, I could invent something.  But chances are, someone else already
> > has invented something better than I'd improvise.
> >
> > -- hendrik
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>


-- 
-- 
Jens Axel Søgaard

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to