Subject: [PATCH 19/20] gnu: erlang: Add chunks compilation.

From: Igor Goryachev <[email-masked]>
Date: Thu, 13 Jun 2024 09:17:56 +0300

* gnu/packages/erlang.scm (erlang): Add chunks compilation.

Change-Id: I81037864ac38f5a2a6cf8eac2fe0523e6500c78b
---
 gnu/packages/erlang.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm
index 421869d029..dd07c1a617 100644
--- a/gnu/packages/erlang.scm
+++ b/gnu/packages/erlang.scm
@@ -181,7 +181,10 @@ (define-public erlang
                     (share (string-append out "/share/")))
                (mkdir-p share)
                (with-directory-excursion share
-                 (invoke "tar" "xvf" manpages))))))))
+                 (invoke "tar" "xvf" manpages)))))
+         (add-after 'install-doc 'install-chunks
+           (lambda _
+             (invoke "make" "install-docs" "DOC_TARGETS=chunks"))))))
     (home-page "https://www.erlang.org/")
     (synopsis "The Erlang programming language")
     (description
-- 
2.45.1