| Jeff Abrahamson on 19 Jan 2004 16:52:02 -0000 |
|
On Mon, Jan 19, 2004 at 12:16:13AM -0500, William H. Magill wrote:
> [41 lines, 186 words, 1262 characters] Top characters: _etailn.
>
>
> On 18 Jan, 2004, at 22:41, Jeff Abrahamson wrote:
>
> > 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?
>
> Spaces instead of tabs maybe?
>
> Why not just create a master document and fill it with \input {...}
> statements?
>
> Then you only have one file to run...
Exactly, but I still have more than one command (makeindex) to run
when I do. Putting those commands in a make file seemed like a nice
idea, in that seeing a file called Makefile would remind me to type
make. A script would work better initially, but I'd be less likely to
see it and remember when I come back to the directory some time later.
Maybe I should just use .FORCE and not worry about dependency checking.
--
Jeff
Jeff Abrahamson <http://www.purple.com/jeff/>
GPG fingerprint: 1A1A BA95 D082 A558 A276 63C6 16BF 8C4C 0D1D AE4B
Attachment:
pgpeHnl2mcr8j.pgp
|
|