William H. Magill on 19 Jan 2004 05:17:02 -0000


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

Re: [PLUG] make and depending on globs



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...

T.T.F.N.
William H. Magill
# Beige G3 - Rev A motherboard - 768 Meg
# Flat-panel iMac (2.1) 800MHz - Super Drive - 768 Meg
# PWS433a [Alpha 21164 Rev 7.2 (EV56)- 64 Meg]- Tru64 5.1a
# XP1000 - [Alpha EV6]
magill@mcgillsociety.org
magill@acm.org
magill@mac.com

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug