emacs-eldev / eldev

Elisp development tool
https://emacs-eldev.github.io/eldev/
GNU General Public License v3.0
226 stars 17 forks source link

How to add extra files to a package #65

Closed ikappaki closed 2 years ago

ikappaki commented 2 years ago

Hi,

what is the suggested way to add non-elisp files to the built package? I've been looking at the Eldev documentation for a way, and have also tried experimenting with the :package virtual target but to no avail. Looking at the code didn't help me either.

eldev's own Eldev file though does seem to achieve so by use of the eldev-file-to-package variable. If this is the established way, could it be mentioned in the documentation please? I only discovered it by chance, while trying to formulate the question.

Thanks

doublep commented 2 years ago

Yes, this is the established and official way. I have now documented the variable in section "Building packages". Thank you for the hint.

doublep commented 2 years ago

Note that with 1.2 the recommended way has changed a bit, although it still involves the same variable. See the same documentation section for description.