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

Re: Install files based on architecture?



Le Sat, Sep 27, 2014 at 06:55:03PM +0800, Bamm a écrit :
> 
> Is it possible for the debian/install file to install a file based on
> architecture? Perhaps something like this?
> 
> bin/$arch/* usr/bin
> 
> Where $arch is either i386 or amd64?

Hello Bamm,

you can have a look at dh-exec and how it is used in the particular case of
multi-architecture packages.

    https://wiki.debian.org/Multiarch/Implementation

But as Paul noted, wildcards are enough as long as you do not need $arch to be
in the target.

Have a nice week-end,

-- 
Charles Plessy
Debian Med packaging team,
http://www.debian.org/devel/debian-med
Tsurumi, Kanagawa, Japan


Reply to: