8 Aug 2013 dmarti   » (Master)

Automatically run make when a file changes

Hey, kids! makewatch script!

Really simple: do a makewatch [target] to re-run make with the supplied [target] when any files relevant to that target change.

This is something originally discussed in a thread on the linux-elitists mailing list.

Andrew Cowie has written something similar. The main thing that this one does differently is to ask make which files matter to it, instead of doing an inotifywatch on the whole directory. Comments and suggestions welcome.

Syndicated 2013-08-08 13:49:12 from Don Marti

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!