summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/emacs.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index f40e8443cf..53676bd2da 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -302,6 +302,11 @@ configuration files, such as .gitattributes, .gitignore, and .git/config.")
        #:test-target "test"
        #:tests? #f                          ;'tests/magit-tests.el' is missing
 
+       #:make-flags (list
+                     ;; Don't put .el files in a sub-directory.
+                     (string-append "lispdir=" (assoc-ref %outputs "out")
+                                    "/share/emacs/site-lisp"))
+
        #:phases
        (modify-phases %standard-phases
          (replace