[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
using VPATH in depend2.am?
From: |
Harald Dunkel |
Subject: |
using VPATH in depend2.am? |
Date: |
Mon, 17 Oct 2005 18:02:09 +0200 |
User-agent: |
Debian Thunderbird 1.0.2 (X11/20050402) |
Hi folks,
Would it be possible to rely upon $(VPATH) in depend2.am?
Instead of
`test -f '%SOURCE%' || echo '$(srcdir)/'`%SOURCE%
something like this could work, too (not verified yet):
`test -f '%SOURCE%' || (VPATH=$(VPATH); test "$$VPATH" ||
VPATH=$(srcdir); for i in \`IFS=:; set $$VPATH; unset IFS; echo "$$@"\`; do
test -f $$i/'%SOURCE%' && echo $$i/ && break; done)`'%SOURCE%'
This would be a big improvement for supporting dependencies.
Currently I have to configure using --disable-dependency-tracking
to make VPATH work.
Regards
Harri
- using VPATH in depend2.am?,
Harald Dunkel <=