diff options
author | Joseph Turner <joseph@breatheoutbreathe.in> | 2023-05-13 10:05:04 -0700 |
---|---|---|
committer | Philip Kaludercic <philipk@posteo.net> | 2023-05-16 21:22:02 +0200 |
commit | 5ac08768aa04b0a707eb421db78b7c18ec27b55a (patch) | |
tree | 8f9fb426d3b5edcdfd38b35f9d575974a34e7954 /doc | |
parent | d3a17a58fbdb3482512264cebda2b6e8ae16b34e (diff) | |
download | emacs-5ac08768aa04b0a707eb421db78b7c18ec27b55a.tar.gz |
Support side-effects while building VC packages
* doc/emacs/package.texi (Specifying Package Sources): Document new
specification attributes.
* lisp/emacs-lisp/package-vc.el (package-vc-allow-side-effects): Add
new user option.
(package-vc--make): Add handler for processing :make and
:shell-command.
(package-vc--unpack-1): Check 'package-vc-allow-side-effects' and
invoke 'package-vc--make'.
* etc/NEWS: Mention change. (Bug#63336)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/emacs/package.texi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/emacs/package.texi b/doc/emacs/package.texi index 6722185cb20..4f606b22e54 100644 --- a/doc/emacs/package.texi +++ b/doc/emacs/package.texi @@ -682,6 +682,15 @@ A string providing the repository-relative name of the documentation file from which to build an Info file. This can be a Texinfo file or an Org file. +@item :make +A string or list of strings providing the target or targets defined in +the repository Makefile which should run before building the Info +file. Only takes effect when package-vc-allow-side-effects is non-nil. + +@item :shell-command +A string providing the shell command to run before building the Info +file. Only takes effect when package-vc-allow-side-effects is non-nil. + @item :vc-backend A symbol naming the VC backend to use for downloading a copy of the package's repository (@pxref{Version Control Systems,,,emacs, The GNU |