%% Ben Elliston <[EMAIL PROTECTED]> writes:

  >>>>>> "Paul" == Paul D Smith <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>          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