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


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

[PLUG] make and depending on globs


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?

-- 
 Jeff

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

Attachment: pgpokxwwHgmU4.pgp
Description: PGP signature