Re: strange ORBit2 bugs ... & IDL distribution

Martin Kretzschmar <[email protected]>
Newsgroups gmane.comp.gnome.components,gmane.comp.gnome.orbit.general
Message-ID <1052162986.901.7.camel@localhost>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.