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

Re: Source with different examples directories



On Sun, 2021-11-21 at 21:22 +0100, Marc Haber wrote:

> Is there a less ugly way?

Send upstream a patch to create a directory structure like this:

src/
  examples/
     c/
     c++/

If you're only after workarounds, there are two options:

Run dh_installexamples twice. First install the C++ examples, then
mkdir c++, then mv * c++, then install the C examples.

Read the dh_installexamples code and adapt the `cd && find | sort |
xargs cp` command that dh_installexamples is just a wrapper for.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: