Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 22439: /trunk/epan/wslua/ /trunk/epa

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Thu, 2 Aug 2007 11:14:33 +0200
On Thu, Aug 02, 2007 at 01:48:59AM -0700, Guy Harris wrote:
> Joerg Mayer wrote:
> > On Thu, Aug 02, 2007 at 07:54:07AM +0000, guy@xxxxxxxxxxxxx wrote:
> >> http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=22439
> > ...
> >>  Don't put $(srcdir)/ at the beginning of those file names - other
> >>  Makefile.am files don't have it, and it appears to break "make
> >>  distcheck", at least on my Mac OS X 10.4 machine.
> > 
> >>From svn log:
> > 
> >> r21861 | jmayer | 2007-05-21 18:02:31 +0200 (Mon, 21 May 2007) | 1 line
> >>
> >> Hack to fix out of tree builds
> 
> automake should be taking care of that - and the version of automake on 
> my machine, at least, is generating rules such as

This is not an automake problem, the problem is triggered by the
following snippet in Makefile.am

declare_wslua.h: make-reg.pl $(wslua_modules) taps_wslua.c
        $(PERL) $(srcdir)/make-reg.pl $(wslua_modules);

and is (in the end) caused by make-reg.pl which wasn't designed to
work with out of tree builds.

 ciao
    Joerg
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.