[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: native packages

On 1/24/07, Neil Williams <linux@codehelp.co.uk> wrote:
On Wed, 24 Jan 2007 08:45:50 +1100
"Andrew Donnellan" <ajdlinux@gmail.com> wrote:

> > Hmm. Can't you use 'make dist' to create a tarball that is at least
> > close to what will actually be released? 'make dist' will not include
> > debian/ UNLESS you have made the mistake of putting debian/ in
> > EXTRA_DIST somewhere.
> This package does not use autotools, it uses qconf. Upstream tarball
> releases are literally just exports of the svn repo. Also I'm building
> svn snapshot versions here.

Fair enough - I'll just note that if this was an autotools package,
there'd be no particular reason not to use 'make dist' to prepare an
svn snapshot. Whatever method is to be used to create the next full
release is the method that should be used for all snapshot (or other
interim) releases. For autotools packages, that method is usually 'make
dist' (and if it isn't, it should be!) Basically, if an autotools
package doesn't complete 'make dist', it isn't ready for an svn
snapshot release either.

What I've decided to do is write a script, 'dist-tarball.sh', which
removes all SVN directories, as well as the debian files and
non-release stuff before making a tarball. Upstream will use it for
the next release as well. From the tarball I'll just use that as an
orig.tar.gz and apply the debian patches outside of SVN.

Andrew Donnellan
ajdlinuxATgmailDOTcom (primary)    ajdlinuxATexemailDOTcomDOTau (secure)
http://andrewdonnellan.com         http://ajdlinux.wordpress.com
ajdlinux@jabber.org.au             hkp://subkeys.pgp.net 0x5D4C0C58
           http://linux.org.au    http://debian.org
       Get free rewards - http://ezyrewards.com/?id=23484

Reply to: