Coda File System

Re: spec files, CVS

From: Jerry Amundson <jerry_at_pbs.com>
Date: Fri, 26 May 2006 21:59:21 -0500
On Sun April 16 2006 17:42, Jan Harkes wrote:
> A released tarball is actually not a simple CVS checked out copy. I
> use some scripts, which actually do a clean build first, and only
> construct the tarball if that works.
>
> i.e. something like the following,
>
> (actually a bit more involved since I do this initial build in a
> chrooted tree to make sure the build is as clean as possible).
>
>     #!/bin/sh -e
>     cvs checkout $comp
>     cd $comp
>     ./bootstrap.sh
>     ./configure --prefix=/usr
>     make
>     make distclean
>     make dist
>
> This results in a tarball that is copied over to a couple of machines
> where I try to build the result on different distributions/OS's.

But "make distclean" removes Makefile, so leave it out, or run "make 
dist" first, right? ;-)

jerry
Received on 2006-05-27 00:53:07