Re: strange ORBit2 bugs ... & IDL distribution
- From: Martin Kretzschmar <m_kretzschmar gmx net>
- To: "Gustavo J. A. M. Carneiro" <gjc inescporto pt>
- Cc: Michael Meeks <michael ximian com>, orbit <orbit-list gnome org>, bonobo <gnome-components-list gnome org>, JP Rosevear <jpr ximian com>, Jaka Mocnik <jaka gnu org>, Bill Haneman <bill haneman sun com>
- Subject: Re: strange ORBit2 bugs ... & IDL distribution
- Date: 05 May 2003 21:29:54 +0200
Am Mon, 2003-05-05 um 18.15 schrieb Gustavo J. A. M. Carneiro:
> A Seg, 2003-05-05 ās 14:50, Michael Meeks escreveu:
> > Unfortunately, autotools makes it very easy to ship auto-generated
> > code; in fact you have to work hard to stop it; thus, if anyone is
> > building IDL in their project I recommend that you use:
> >
> >
> > DONT_DIST_SOURCE = $(CORBA_SOURCE) $(marshal_sources)
> >
> > dist-hook:
> > for file in $(DONT_DIST_SOURCE) ; do \
> > rm -f $(distdir)/$$file ; \
> > done
> >
>
> Michael, I think there is a cleaner way to accomplish the same thing,
> with the nodist prefix. Example (from gnumexp):
>
> # Numexp::Kernel and Numexp::Client interfaces
> noinst_LIBRARIES=libnumexp_corba.a libgnumexp_shell.a
> nodist_libnumexp_corba_a_SOURCES = \
> Numexp_Kernel-common.c \
> Numexp_Kernel-skels.c \
> Numexp_Kernel-stubs.c \
> Numexp_Kernel.h
> nodist_libgnumexp_shell_a_SOURCES = \
> GNumexp_Shell-common.c \
> GNumexp_Shell-skels.c \
> GNumexp_Shell-stubs.c \
> GNumexp_Shell.h
>
> CLEANFILES = $(nodist_libnumexp_corba_a_SOURCES) $(nodist_libgnumexp_shell_a_SOURCES)
>
> I hope this helps.
That's cool. I was trying (not really hard) to prevent shipping of
glib-genmarshal stuff but gave up.
Just for the record: make sure your autogen.sh looks for automake >= 1.5
Thanks,
Martin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]