From: "Ludovic Courtès" <ludo@gnu.org>
To: 69432@debbugs.gnu.org
Cc: "Ludovic Courtès" <ludo@gnu.org>, pelzflorian@pelzflorian.de
Subject: [bug#69432] [PATCH guix-artwork v2 1/3] website: Adjust style of web site builder.
Date: Thu, 29 Feb 2024 22:47:12 +0100 [thread overview]
Message-ID: <20240229214714.9431-1-ludo@gnu.org> (raw)
In-Reply-To: <877cineyn0.fsf@gnu.org>
* website/.guix.scm (lingua-web-site)[build]: Use ‘for-each’ and
‘install-file’ when copying font files.
---
website/.guix.scm | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/website/.guix.scm b/website/.guix.scm
index 3d8fdb6..1d8c3e6 100644
--- a/website/.guix.scm
+++ b/website/.guix.scm
@@ -206,13 +206,13 @@
;; Include the Fira fonts used in
;; website/static/base/css/manual.css.
- (mkdir-p (string-append #$output "/static/base/fonts"))
- (map (lambda (file)
- (copy-file (string-append #+font-fira-sans
- "/share/fonts/truetype/" file)
- (string-append #$output
- "/static/base/fonts/" file)))
- '("FiraSans-Bold.ttf" "FiraSans-Regular.ttf"))))))
+ (for-each (lambda (file)
+ (install-file (string-append #+font-fira-sans
+ "/share/fonts/truetype/"
+ file)
+ (string-append #$output
+ "/static/base/fonts")))
+ '("FiraSans-Bold.ttf" "FiraSans-Regular.ttf"))))))
(computed-file (string-append "guix-web-site-" lingua)
build
base-commit: b7ccc5cb1b4ec936c00dbd98376c5d2677e60a63
--
2.41.0
next prev parent reply other threads:[~2024-02-29 21:48 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-27 16:51 [bug#69432] [PATCH 0/3] Change fonts of the on-line manual Ludovic Courtès
2024-02-27 21:38 ` pelzflorian (Florian Pelz)
2024-02-27 21:38 ` [bug#69432] [PATCH 1/3] website: Adjust style of web site builder Ludovic Courtès
2024-02-27 21:38 ` [bug#69432] [PATCH 2/3] website: Use Fira Sans for section headings only Ludovic Courtès
2024-02-27 21:38 ` [bug#69432] [PATCH 3/3] website: Use Linux Libertine for the body of the manual Ludovic Courtès
2024-02-28 7:56 ` pelzflorian (Florian Pelz)
2024-02-29 21:41 ` Ludovic Courtès
2024-02-29 21:47 ` Ludovic Courtès [this message]
2024-02-29 21:47 ` [bug#69432] [PATCH guix-artwork v2 2/3] website: Use Fira Sans for section headings only Ludovic Courtès
2024-02-29 21:47 ` [bug#69432] [PATCH guix-artwork v2 3/3] website: Use Linux Libertine for the body of the manual Ludovic Courtès
2024-03-01 11:51 ` pelzflorian (Florian Pelz)
2024-03-02 15:01 ` bug#69432: " Ludovic Courtès
2024-02-28 8:06 ` [bug#69432] [PATCH 1/3] website: Adjust style of web site builder pelzflorian (Florian Pelz)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240229214714.9431-1-ludo@gnu.org \
--to=ludo@gnu.org \
--cc=69432@debbugs.gnu.org \
--cc=pelzflorian@pelzflorian.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.