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

Re: symlinks in upstream and cvs-buildpackage



On Tue, May 14, 2002 at 08:27:45PM -0500, Paul Baker wrote:

> Since dpkg-source ignores that I have removed the symlinks, when I later
> do the `cvs-inject mapserver_3.5-1.dsc` it of course dies on the symlinked
> files. I can use cvs-inject -F to have it remove the symlinks, but I'm
> wondering what all this will break down the road. If you grab the sources
> from my CVS repository you will get them without the symlinks, but if you
> use the actual *unchanged* mapserver_3.5.orig.tar.gz then it will have the
> symlinks. Does anyone have any advice on how I should approach this? Thank
> you!!

It shouldn't be difficult to write debian/rules so that it handles both
situations.  Just create the symlinks if they don't already exist.  This way
you will be able to build from your CVS working directory (for testing) and
the Debian source package will also build correctly (required).

cvs-inject -F will do just what it says; it removes the symlinks so that
they're not in your CVS repository.  They'll still be in the upstream
source, and thus still in the Debian source package.  The only thing that
will break is building in your CVS tree, and you can fix that as above.

-- 
 - mdz


-- 
To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: