On Friday 02 January 2004 15:24, Matej Cepl wrote:
> Hi,
>
> this is for programmers on this list:
>
> I have a directory fill with small .lyx files (field notes with
> records of interviews) and I would love to keep .pdf files for
> each of them with make.
>
> To make rule is simple:
>
> .pdf.lyx:
> lyx -e pdf2 $<
>
> However, I don't how to make rule "go through all .lyx files and
> make .pdf, if they don't have newer one" (so that it would work
> even for .lyx files without corresponding .pdf).
I don't know if this is something specific from gmake but I use this:
all : *.lyx
%.pdf : %.lyx
lyx -e pdf2 $<
> Can anybody help?
I hope this helps. :-)
> Matej
--
Jos� Ab�lio
LyX and docbook, a perfect match. :-)