Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2003:
[Freeciv-Dev] Re: (PR#4131) 'make dist' for the daily snapshot
Home

[Freeciv-Dev] Re: (PR#4131) 'make dist' for the daily snapshot

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] Re: (PR#4131) 'make dist' for the daily snapshot
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 5 May 2003 07:15:15 -0700
Reply-to: rt@xxxxxxxxxxxxxx

Baumans wrote:
> What does "make dist" do, anyway? How was 1.14.0 put out?

As Per said, it creates a distribution tarball.  This tarball is in the 
current directory, as freeciv-<version>.tar.gz.  Included in the tarball 
are configure, various Makefile.in, and other files generated by 
autogen.sh (but not those generated by configure).  Thus the user need 
only run ./configure && make later to compile freeciv.

One problem is that the tarball does not have a constant name.  This may 
make it difficult to just copy the tarball over and use it.  In fact, 
when you untar the tarball it will give you a directory 
freeciv-<version>, which is not exactly what we want (but might be 
okay).  If the CVS had consistent versioning (as discussed on RT), this 
would be solved.

I would expect the correct script would run something like:

   cd freeciv
   ./autogen.sh > /dev/null
   make dist >/dev/null 2>&1
   mv freeciv-*.tar.gz ../$LATESTSNAP/freeciv-cvs-$TODAY.tar.bz2
   cd ..

jason




[Prev in Thread] Current Thread [Next in Thread]