Thanks Charles and Paul for the answers. I could not use the wildcards bin/*/* usr/bin because the tarball contains binary blobs of the same filename. I want the correct file to be installed depending on whether an i386 or amd64 package is being built.
I am checking out the dh-exec solution you suggested but I could not figure out which file to put it in. Also debian/install? I just installed dh-exec and if it works, I will put it in build-depends. Regards, Bamm On Sat, Sep 27, 2014 at 7:34 PM, Charles Plessy <[email protected]> wrote: > 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 -- Bamm Gabriana Marikina, Philippines 14 37 18.8 N 121 05 58.2 E 23 m Space isn't remote at all. It's only an hour's drive away if your car could go straight upwards. - Sir Fred Hoyle -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: https://lists.debian.org/CACaRza_JY=+UMKAy_A5_mPBJG=BjwG413_az_w=poucby8e...@mail.gmail.com

