Re: Package build and corresponding documentation
Heime <[email protected]>
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <g5nBPjDfdIB0wE6rybD50ctpzLEdz4hGkKG5M4F_-3eb3oc8wdlh8wo0_JSyDGP0M2Lp2J_5hh_8o5GkV9iSq05hFAFVhA6YWpbrHWhuqE4=@protonmail.com> |
On Monday, April 27th, 2026 at 5:51 AM, [email protected] <[email protected]> wrote: > Heime <[email protected]> writes: > > > I am trying to make the documentation makefile for a package of mine. > > Using emacs documentation as guidance, I see that Makefile.in uses > > srcdir=@srcdir@. This implies to me that srcdir=@srcdir@ is an autotools > > substitution placeholder in configure.ac or Makefile.am. > > > > Would I need to have a configure script for my package? And use > > autotools so I can place some settings in configure files (configure.ac) > > or Makefile.am? > > > > Currently I have one file called antares.mk. > > > > It depends on what you mean by a "package". If you mean > that it will be an Emacs-Lisp package that can be installed > from an Emacs-Lisp package archive, then you likely do not > need to include a configuration script or any sort of > Makefile. Instead, you would include in the package the > files that are generated from such a script or makefile. I want to have the capability for installation from an Emacs-Lisp package archive. But also the capability for a development version not in the archive to be built. > If you have not already, then you might need to read: > > (info "(elisp) Packaging") > > particularly, the first three sub-sections: > > * Packaging Basics:: The basic concepts of Emacs Lisp packages. > * Simple Packages:: How to package a single .el file. > * Multi-file Packages:: How to package multiple files. > > -- > The lyf so short, the craft so long to lerne. > - Geoffrey Chaucer, The Parliament of Birds. > >