Re: [Gimp-developer] Builds with SRCDIR != OBJDIR broken

2005-02-20 Thread Daniel Egger
On 20.02.2005, at 19:29, Sven Neumann wrote:
Anyone here who can fix that with some Makefile-fu?

Why do you think those files would be looked for in $(srcdir)?
Because the compiler complained that it couldn't find the
files in $(srcdir), so what I did was copying them over
one-by-one from the object directory to the source directory
when the make process aborted because of it. That only
happened for exactly those files mentioned; I copied there
names from the history of my shell.
BTW: The menus preprocessing also didn't work because of this,
I had to copy over the .in files from $(srcdir) to the build
tree in order for the target to build and install. It didn't
bail out though, I first noticed this when starting The GIMP.
Servus,
  Daniel


PGP.sig
Description: This is a digitally signed message part


Re: [Gimp-developer] Builds with SRCDIR != OBJDIR broken

2005-02-20 Thread Sven Neumann
Hi,

Daniel Egger <[EMAIL PROTECTED]> writes:

> while building GIMP for the threading test I noticed that
> builds where the source dir is not the object directory are
> slightly broken; in particular the intlfoo magic in the tips
> directory doesn't take the SRCDIR into account and thus failes
> badly and the following (generated) files are built in OBJDIR
> but searched for in SRDIR:
> libgimpthumb/gimpthumb-enums.c
> libgimpwidgets/gimpwidgetsmarshal.c
> libgimp/gimpenums.c
> app/core/gimpmarshal.h
>
> Anyone here who can fix that with some Makefile-fu?

make distcheck builds with srcdir != builddir so this should work and
is tested quite often. Why do you think those files would be looked
for in $(srcdir)?


Sven
___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer