Re: CDBS and DESTDIR
On Tue, Mar 22, 2005 at 05:13:38PM -0300, Nelson A. de Oliveira wrote:
> Hi
>
> Mattia Dongili wrote:
> >some (hopefully) usefull notes:
> >- why are you trying to install 'bin/ali2gff' instead of 'ali2gff' only?
>
> Because all binary files are on bin/ directory.
yes but you're already mentioning the 'bin' directory in the last part
of your install invocation.
Quoting your diff:
/usr/bin/install -s -m 755 bin/ali2gff $(DESTDIR)/bin/
^^^ ^^^^
> >- why not using /usr/bin/install for everything when copying files, it has
> > useful features, eg:
> > -D create all leading components of DEST except the last, then
> > copy SOURCE to DEST; useful in the 1st format
> > (please see the full manpage for the install command, this is just a
> > hint for the nonexisting /tmp/bin/ above)
>
> Because there is only one binary file. The other files are perl scripts.
> Install says something about not possible to strip the perl files.
of course it isn't, read the install manpage and look for the -s
option... simply avoid it
--
mattia
:wq!
Reply to: