>>> "Alan" == Alan Gutierrez <[EMAIL PROTECTED]> writes:

 Alan> bin_PROGRAMS = foo

 Alan> foo_SOURCES = \
 Alan> src/foo/foo.hpp \
 Alan> src/foo/foo.cpp

 Alan> automake correctly determines the foo.hpp dependency for building foo,
 Alan> but doesn't feed foo.hpp to etags.

% make tags
tags=; \
here=`pwd`; \
list='src/foo/foo.hpp src/foo/foo.cpp    '; \
unique=`for i in $list; do \
    if test -f "$i"; then echo $i; else echo ./$i; fi; \
  done | \
  gawk '    { files[$0] = 1; } \
       END { for (i in files) print i; }'`; \
test -z "$tags$unique" \
  || etags    \
     $tags $unique

Looks like it works for me. 
Which version of Automake are you complaining about?
-- 
Alexandre Duret-Lutz



Reply via email to