Subject: [bug#77767] [PATCH emacs-team] gnu: emacs-forge: Fix build info.

From: Cayetano Santos <[email-masked]>
Date: Sat, 12 Apr 2025 17:52:42 +0200

* gnu/packages/emacs-xyz.scm (emacs-forge): Fix build info.

Change-Id: I018424fa48561ec5cd6280c378f1afab2cfbe2fd
---
 gnu/packages/emacs-xyz.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2a377f5a08..641f84da46 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -34527,10 +34527,11 @@ (define-public emacs-forge
        (modify-phases %standard-phases
          (add-after 'unpack 'build-info-manual
            (lambda _
-             (invoke "make" "info")
-             ;; Move the info file to lisp so that it gets installed by the
-             ;; emacs-build-system.
-             (rename-file "docs/forge.info" "lisp/forge.info"))))))
+             (with-directory-excursion ".."
+               (invoke "make" "info")
+               ;; Move the info file to lisp so that it gets installed by the
+               ;; emacs-build-system.
+               (rename-file "docs/forge.info" "lisp/forge.info")))))))
     (native-inputs
      (list texinfo))
     (propagated-inputs

base-commit: ca30726285b6883a3b1fa89db64177460af69c42
-- 
2.49.0