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

Re: Source code extracted to current directory



On Thu, Mar 17, 2005 at 08:54:50PM +0100, Jeroen van Wolffelaar wrote:
> On Thu, Mar 17, 2005 at 04:50:27PM -0300, Nelson A. de Oliveira wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > Hi mentors
> > 
> > When we have a program xyz.tgz and when uncompressing it, it extracts
> > everything to the current directory and not to xyz/ we have to create a
> > dir xyz-version/, move all the extracted files to xyz-version/ and
> > repack this directory, right?
> 
> No, dpkg-source copes with this situation fine, if it extracts in
> toplevel, or has a wrongly-named single directory, it'll make sure it
> gets in package-version/ directory anyway.
> 
> Repacking should normally only be done if it contains undistributeable
> stuff, or non-free stuff in case of a main or contrib package.
In which case you should follow the naming practice as in the
Developers Reference.

Note that dh_make may require that the directory be renamed, but
that's a one-time thing; after that, dpkg-source will cope.

Justin



Reply to: