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

dh_strip and -X



Hi mentors,
  I have a package that install two binaries, one of them have to be
stripped while the other have not to.
The file "foo" (for example) have not to be stripped (is a bytecode
executable, so stripping will remove the bytecode and the executable
will become useless), the file "foo.opt" have to be stripped (is a
native code executable).

If I use "dh_strip -Xfoo" obviously none of the two will be stripped
because "foo" string is contained also in "foo.opt".
I have tried some hacks assuming that the argument is a perl regular
expression but with poor results (I've tried "-Xfoo\[^.opt\] and
similar).

How can I strip only "foo.opt" using dh_strip?

TIA,
Cheers.

-- 
Stefano "Zack" Zacchiroli <zack@cs.unibo.it> ICQ# 33538863
Home Page: http://www.cs.unibo.it/~zacchiro
Undergraduate student of Computer Science @ University of Bologna, Italy
                 - Information wants to be Open -

Attachment: pgpBB8uRyDewx.pgp
Description: PGP signature


Reply to: