Closed yuriusu22 closed 4 years ago
No, directory inclusion is not supported.
And generally, in my opinion, this script should be completely rewritten to use dpkg-deb
for creating debfiles. This would fix issues like https://github.com/termux/termux-create-package/issues/18 and this one as packaging will be offloaded to standard utility for making debfiles.
No, directory inclusion is not supported.
As a workaround to my problem, I've edited the Python script and enabled recursion to true (see my post above).
And generally, in my opinion, this script should be completely rewritten to use
dpkg-deb
for creating debfiles. This would fix issues like #18 and this one as packaging will be offloaded to standard utility for making debfiles.
I agree. It's been a couple of years since this is updated. It's time to rewrite this :smile: .
EDIT
I found the line for the directory recursion:
I think recursion should be enabled by default.
I can't figure out how to include a directory. Does packaging an entire directory supported?
Suppose I have this setup:
Can we just include the directory
bin
and be placed directly to theprefix
(similar to how package.json#files works in npm)? Something like this:Would somehow result to this:
It would be very helpful for large number of files.