On Tue, Aug 14, 2001 at 02:35:43PM -0700, Greg Stein wrote:
> Make files are to deal with dependencies. Looking at the above, I'll
> reiterate: the distribution process is best described/built using a simple
> shell script. "make dist" offers no advantages over the use of a simple
> shell script, and (I'd say) even has *disadvantages*.
I couldn't agree more, 'make dist' is an abomination. I used something
like this when making tarballs for testing ports:
#!/bin/sh
#
# script for rolling a Subversion tarball
# requires wget, GNU tar, tigris.org login
# Configuration items:
login=$LOGNAME # login name to cvs.tigris.org
svntag=HEAD # tag on subversion CVS tree
aprtag=HEAD # tag on APR CVS tree
neonver=0.15.3 # neon version
# Release name
release=current
tarball=subversion-${release}.tar.gz
# fail on errors, show what's going on
set -ex
if test -d subversion; then
echo Existing working copy is in the way...
exit 1
fi
CVSROOT=:pserver:$login@cvs.tigris.org:/cvs
export CVSROOT
cvs export -r$svntag subversion
cd subversion
# Get APR
CVSROOT=:pserver:anoncvs@cvs.apache.org:/home/cvspublic
# can't export APR for some reason
cvs co -r$aprtag apr
find apr -name CVS -print | xargs rm -r
# Get neon
wget http://www.webdav.org/neon/neon-$neonver.tar.gz
tar xzf neon-$neonver.tar.gz
mv neon-$neonver neon
rm neon-$neonver.tar.gz
# Now generate the configure script
./autogen.sh
cd ..
mv subversion subversion-${release}
tar czf $tarball subversion-${release}
rm -rf subversion-${release}
ls -l $tarball
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:36 2006