Well, I should clarify.
Let "dir" contain README and many other files with no specific pattern.
README is to be included in package (not to be excluded),
but into one location, but all other files are to go into another
location.
For now I have to write in pkg.install:
dir/README /location/one/
06.07.2011 21:04, Joey Hess пишет:
> Igor Pashev wrote:
>> Suppose we want to install all files within "dir/", but README.
>>
>> We could use this line in .install:
>>
>> dir/!(README) /usr/libexec/dir/
>>
>> [just like bash shopt -s extglob]
>
> debhelper already has a mechanism for this, the -X
Igor Pashev wrote:
> Suppose we want to install all files within "dir/", but README.
>
> We could use this line in .install:
>
> dir/!(README) /usr/libexec/dir/
>
> [just like bash shopt -s extglob]
debhelper already has a mechanism for this, the -X flag.
--
see shy jo
signature.asc
Descrip
Package: debhelper
Version: 8.9.0
Severity: wishlist
Suppose we want to install all files within "dir/", but README.
We could use this line in .install:
dir/!(README) /usr/libexec/dir/
[just like bash shopt -s extglob]
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
4 matches
Mail list logo