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

Re: CDBS and DESTDIR



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.

- 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.

last but not least you could set up DESTDIR this way:
 INSTALLDIR = $(DESTDIR)$(LBIN)
at the beginning of the Makefile, then you can forget it :) then either
use /usr/bin/install as said above or leave the original $(CP) and
create the $(INSTALLDIR) yourself with mkdir in the installbin target.
Change LBIN to fit your needs and you're done (maybe you want to install
under /usr/bin actually, not /bin)

Yes, could be an option! :-)
Thanks!

Cheers
Nelson



Reply to: