Subject: [PATCH 3/3] gnu: emacs-auctex: Add arguments to work with new `install' phase.

From: Arun Isaac <[email-masked]>
Date: Wed, 26 Apr 2017 19:39:29 +0530

* gnu/packages/emacs.scm (emacs-auctex)[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 9c919c49d..d9cdcf2b5 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1197,7 +1197,10 @@ as a library for other Emacs packages.")
     (build-system emacs-build-system)
     ;; We use 'emacs' because AUCTeX requires dbus at compile time
     ;; ('emacs-minimal' does not provide dbus).
-    (arguments `(#:emacs ,emacs))
+    (arguments
+     `(#:emacs ,emacs
+       #:include '("\\.el$" "^images/" "^latex/" "\\.info$")
+       #:exclude '("^tests/" "^latex/README")))
     (native-inputs
      `(("perl" ,perl)))
     (home-page "https://www.gnu.org/software/auctex/")
-- 
2.12.2