GNU bug report logs -
#26559
[PATCH] build: emacs: Install only a subset of files.
Previous Next
Reported by: Arun Isaac <arunisaac <at> systemreboot.net>
Date: Wed, 19 Apr 2017 07:37:01 UTC
Severity: normal
Tags: patch
Done: Arun Isaac <arunisaac <at> systemreboot.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Arun Isaac (2017-04-26 19:39 +0530) wrote:
> * gnu/packages/emacs.scm (emacs-slime)[arguments]: Add #:include and #:exclude
> arguments.
> ---
> gnu/packages/emacs.scm | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
> index 14d851184..9c919c49d 100644
> --- a/gnu/packages/emacs.scm
> +++ b/gnu/packages/emacs.scm
> @@ -2333,7 +2333,10 @@ in @code{html-mode}.")
> (native-inputs
> `(("texinfo" ,texinfo)))
> (arguments
> - `(#:phases
> + `(#:include '("\\.el$" "\\.lisp$" "\\.asd$" "\\.goo$"
> + "\\.ss$" "\\.k$" "\\.scm$" "\\.rb$" "\\.sml$")
All these additional files are placed in "contrib" directory, so what
about the following list:
#:include '("\\.el$" "\\.lisp$" "\\.asd$" "^contrib/")
> + #:exclude '("^contrib/test/")
and excluding Makefile from there:
#:exclude '("^contrib/test/" "^contrib/Makefile")
> + #:phases
> (modify-phases %standard-phases
> (add-before 'install 'configure
> (lambda* _
--
Alex
This bug report was last modified 8 years and 3 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.