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: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#4131) 'make dist' for the daily snapshot
From: "Baumans" <baumans@xxxxxxxxxxxxx>
Date: Mon, 5 May 2003 12:59:23 -0700
Reply-to: rt@xxxxxxxxxxxxxx

----- Original Message ----- 
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
To: <undisclosed-recipients:>
Sent: Monday, May 05, 2003 10:15 AM
Subject: [Freeciv-Dev] Re: (PR#4131) 'make dist' for the daily snapshot


> 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 ..
Oh, okay. Here's a version that does that, extracts the tar.gz into a
temporary directory (I hope tar zxvf works, or you could change that)
changes the directory name (not sure if it needs to do anything else) and
then tars and bzip2s it back to where it's supposed to be. Not very elegant.
>
> jason
>
>
>
>
>

Attachment: autorun2.diff
Description: autorun2.diff


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