Complete.Org: Mailing Lists: Archives: freeciv-dev: July 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: michael@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#4131) 'make dist' for the daily snapshot
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 24 Jul 2003 12:14:13 -0700
Reply-to: rt@xxxxxxxxxxxxxx

Paul Zastoupil wrote:
> Also, please don't remove the freeciv directory that is checked out in
> user freeciv's home directory.  The website depends on this for a few
> things (Like the PEOPLE file).

Is that done now?

I think the problem is because I use wildcards, since the version of the 
tarball (currently 1.14.1-devel) is not hard-coded.  The line

   "mv freeciv-* freeciv-cvs-$TODAY"

doesn't work because freeciv-* matches multiple files.  This is because 
the directory is not kept tidy.

So, in this patch I remove the spurious freeciv-* files.  Can you test this?

jason

Index: mklatest
===================================================================
RCS file: /home/freeciv/CVS/admin_bin/mklatest,v
retrieving revision 1.45
diff -u -r1.45 mklatest
--- mklatest    2003/07/23 17:23:47     1.45
+++ mklatest    2003/07/24 19:10:23
@@ -189,6 +189,7 @@
 # 'autogen.sh' must be run first.
 log "Building distribution tarball."
 cd freeciv
+rm -r freeciv-*
 ./autogen.sh >/dev/null || error "Autogen run failed."
 make dist >/dev/null 2>&1 || error "Make dist failed."
 cd ..
@@ -198,9 +199,10 @@
 # rename, then repack (into a .tar.bz2).
 FREECIV=freeciv-cvs-$TODAY
 tar zxf freeciv/freeciv-*.tar.gz
-#rm -rf freeciv
+rm freeciv-*.tar.gz
 mv freeciv-*/ $FREECIV/
 tar -cf - $FREECIV | bzip2 -9 > $LATESTSNAP/$FREECIV.tar.bz2
+rm -r $FREECIV
 
 [ ! -s $LATESTSNAP/$FREECIV.tar.bz2 ] && \
   error "Could not make $LATESTSNAP/$FREECIV.tar.bz2."

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