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

Re: Renaming installed files

On Thu, 24 Jun 2010 15:30:38 -0700
Russ Allbery <rra@debian.org> wrote:

> Tony Houghton <h@realh.co.uk> writes:
> > Josue Abarca <jmaslibre@debian.org.gt> wrote:
> >> I use 
> >> debian/rules:
> >> ...
> >>   # Do not use language-specific extension (policy).
> >>   mv $(CURDIR)/debian/siege/usr/bin/siege2csv.pl $(CURDIR)/debian/siege/usr/bin/siege2csv
> >> ...
> > TBH I had seen $(CURDIR) used like this before, and even used it myself,
> > but I wasn't sure whether it was officially supported/approved of etc.
> You can use it but it's sort of pointless.  Unless you're embedding cd in
> the command, it's equivalent to just debian/siege/usr/bin/siege2csv.pl and
> so forth.  It's only really useful if you need to make the path absolute
> for some reason, normally because you're changing the working directory or
> doing something else complicated in the command.

OK, but more to the point I was wondering whether it's considered good
practice to use a simple cp in install rules like this, or whether it
would be better to add a quilt patch to make the upstream Makefile use
the names I want in the package.

TH * http://www.realh.co.uk

Reply to: