bug-make
[Top][All Lists]
Advanced

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

Re: Misleading RCS behaviour


From: Paul D. Smith
Subject: Re: Misleading RCS behaviour
Date: Mon, 11 Jun 2001 01:50:09 -0400

%% Ben Elliston <address@hidden> writes:

  >>>>>> "Paul" == Paul D Smith <address@hidden> writes:

  Paul> If you need to have the files created in their VPATH-found location
  Paul> instead of in the local directly, use the GPATH variable to specify
  Paul> which directories contain those types of files.

  Paul> See the GNU make manual, and let me know.

  be> OK, this seems better, but it's not used by Automake, so it's not all
  be> that helpful to me.

Well, that seems like it might be a bug in automake :).  I guess it kind
of depends on exactly what you want, but I think you're right that given
the way automake works, the GPATH'd behavior for finding the source
directory would work better in general.

Without GPATH, new files checked out will be placed in the target
directory; with it they will be updated in the source directory.

However, you can just add:

  GPATH = $(VPATH)

to your Makefile.am files and get the same effect even if automake
doesn't support it.

Obviously this is an innocuous no-op statement in non-GNU make
variants.

  be> By the way -- a documentation bug: GPATH is not in the concept
  be> index. :-)

Oops... thanks.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://www.paulandlesley.org/gmake/
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist



reply via email to

[Prev in Thread] Current Thread [Next in Thread]