[Flac-dev] Re: beta 10 candidate checked in

Matt Zimmerman mdz at debian.org
Thu May 31 01:04:17 PDT 2001


On Wed, May 30, 2001 at 04:39:20PM -0700, Josh Coalson wrote:

> --- Christian Weisgerber <naddy at mips.inka.de> wrote:
> > Josh Coalson <xflac at yahoo.com> wrote:
> > 
> > > I have checked in all the latest into CVS and am going to start the
> > > test suite again.  if all goes well I will probably release this as
> > > beta 10.
> > 
> > What's the sequence of steps required to turn this into a buildable
> > distribution?
> > 
> (except for the other problems you mention below) the sequence I use
> is:
> 	$ aclocal && autoconf && automake -c -a -i
> and when I'm ready to build:
> 	$ ./configure [options]

I think I mentioned this in another thread, but when you're ready to ship
a release, make sure you build it with 'make dist'.  Among other things, this
will:

- Ensure that all required files are included in the tarball
- Ensure that no build cruft is included in the tarball
- Ensure that dependency information is included in the generated makefiles

In order for all of this to work, of course, you need to make sure that
automake knows which files should go in the distribution.  Since it already
knows about your source files, usually the only things that need to be added
are random little files that aren't used directly in the build.  These should
be added to an EXTRA_DIST variable in the appropriate Makefile.am.  You also
have to be sure that all of your .h files are listed either in a _SOURCES
variable (for headers that should not be installed) or in an include_HEADERS
variable.  I'll try to put together a patch to make all of this work; it
shouldn't take too much effort.

If you use 'make distcheck', it will build the distribution, then attempt a
VPATH build.  This is a good way to verify that all of the make rules are
correct (this includes using variables like $(srcdir) where appropriate,
instead of relative paths).

> > | # nasm build rule:
> > | %.lo: %.s
> > 
> > Do we officially depend on GNU make now?
> > You could express this portably with something like this:
> > 
> >     .SUFFIXES: .lo .s
> >     .s.lo:
> >     	...
> > 
> > |         $(NASM) -f elf -d ELF $< -o $@
> > 
> > This won't fly on OpenBSD/i386, which is a.out.
> > 
> yeah, my preferences are showing through... I'm not familiar with
> OpenBSD.  the only boxes I have are Linux, Solaris, and Win32.
> nasm.h does the right thing for a.out formats but the Makefile.am
> is not flexible enough.
> 
> also, there is no intention to make it build only on gnu make, it's
> just that since that's all I use, I don't catch the things you
> mentioned.
> 
> the patches should be minor but I don't think I could guess it
> all correctly without a system to test it on.  can you submit
> such a patch?  it would be much appreciated.
> 
> Josh
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35 
> a year!  http://personal.mail.yahoo.com/
> 
> _______________________________________________
> Flac-dev mailing list
> Flac-dev at lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/flac-dev

-- 
 - mdz





More information about the Flac-dev mailing list