Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 37640986 authored by Simon Tournier's avatar Simon Tournier
Browse files

doc: build: Replace suffix '-book' by '-booklet'.

Avoid mistake as 68767291 when publishing the
activity report.

* doc/build.scm (latex->pdf)<build>: Rename the output file.
parent 68767291
No related branches found
No related tags found
No related merge requests found
......@@ -383,7 +383,15 @@ PDF."
;; Create an A4 booklet.
(invoke "pdfbook2" "-p" "a4paper" pdf-file
;; margins:
"-o" "0" "-i" "0" "-t" "0" "-b" "0"))))))
"-o" "0" "-i" "0" "-t" "0" "-b" "0"))
;; pdfbook2 internally adds the hard-coded suffix '-book'.
;; Guix-HPC publishes the activity reports using the suffix
;; '-booklet'.
(let* ((name (basename #$file ".tex"))
(book (string-append #$output "/" name "-book.pdf"))
(booklet (string-append #$output "/" name "-booklet.pdf")))
(rename-file book booklet))))))
(computed-file (basename file ".tex") build))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment