To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 7983
7982  |  7984
Subject: 
Re: pictures at tracker
Newsgroups: 
lugnet.cad
Date: 
Thu, 16 May 2002 04:53:19 GMT
Viewed: 
674 times
  
In lugnet.cad, Kyle McDonald writes:
Steve Bliss wrote:
Hmm.  Can it deal with files being in subdirectories?  Like, if the search
path is /home/tracker/unofficial;/home/tracker/official, and the directory
structure is:

Yes, GnuMake can (which is probably all you have on a Linux box. :)

Most makes have a VPATH variable that they search for everything in. GnuMake
also has a 'vpath' command that lets you give a pattern and a path to search
for file that match that pattern in.

So you'd have something like:
OFF_DIR = /home/tracker/official
UNOFF_DIR = /home/tracker/unofficial

vpath %.pic $(UNOFF_DIR}/p/pics:$(UNOFF_DIR)/parts/pics:$(OFF_DIR)/p/pics:$(OFF_DIR)/parts/pics

Hmm.  I don't think that would quite work -- files with duplicate names can
exist in different subdirectories of the library.  Sometimes this is on
purpose, sometimes it's accidental.

Would it make a difference (good or bad) if the files are listed in the
dependency with leading subdirectories?  So instead of
   3001.pic: 3001.dat stud4.pic box5.pic stud.pic
the .dep file would have
   parts/3001.pic: parts/3001.dat p/stud4.pic p/box5.pic p/stud.pic
?

Steve



Message is in Reply To:
  Re: pictures at tracker
 
Steve Bliss wrote: > In lugnet.cad, Larry Pieniazek writes: > > >>Hey... this is starting to sound like build/make dependency analysis. Any >>chance of getting good old "make" itself to do the work of figuring out what >>needs to be regenned when a (...) (22 years ago, 16-May-02, to lugnet.cad)

77 Messages in This Thread:



















Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR