| Newsgroups |
gmane.emacs.help |
| Message-ID |
<[email protected]> |
Heime <[email protected]> writes:
> How can I make a --srcdir user option for a makefile that builds
> a package documentation. And what would customarily be the default
> source directory: a . or a fullpath?
>
1. You can specify it in the makefile:
srcdir = /path/to/my/source/files/
(info "(make) Using Variables")
2. You can specify it to ‘make’:
$ make srcdir=/path/to/my/source/files/
3. There are other means (for example, by referencing an
environment variable), which you can ask the ‘make’ users
mailing list:
https://lists.gnu.org/mailman/listinfo/help-make
[email protected]
--
The lyf so short, the craft so long to lerne.
- Geoffrey Chaucer, The Parliament of Birds.