Jeff Abrahamson on 19 Jan 2004 17:51:02 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] make and depending on globs


On Sun, Jan 18, 2004 at 10:41:24PM -0500, Jeff Abrahamson wrote:
>   [22 lines, 93 words, 994 characters]  Top characters: eti.\nols
> 
> I have a latex document that resides in multiple files.  Let's call it
> a book.  It's complicated to build, so I have a makefile.  I would
> like it to be clear that main.tex depends on *.tex and */*.tex.
>                                                                                 
> I am having trouble getting make to do this.  For example, this line
> does not work:
>                                                                                 
>     main.dvi: main.tex *.tex */*.tex
>             latex ...
>                                                                                 
> nor does this:
>                                                                                 
>     main.dvi: main.tex $(SHELL ls *.tex */*.tex)
>             latex ...
>                                                                                 
> Anyone see what I'm missing?

I'm not sure what I was missing, but the */* dependency works for me
today when I retyped it.  I must have made a typo yesterday that I
didn't see despite too much time staring at it.

-- 
 Jeff

 Jeff Abrahamson  <http://www.purple.com/jeff/>
 GPG fingerprint: 1A1A BA95 D082 A558 A276  63C6 16BF 8C4C 0D1D AE4B

Attachment: pgpTtg23BRecS.pgp
Description: PGP signature