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.
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.