mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: parallel: Generate most PDFs from source.
* gnu/packages/parallel.scm (parallel)[source]: Adjust snippet to remove most PDFs. [native-inputs]: Add pod2pdf.
This commit is contained in:
parent
5b3623e6fd
commit
b5b55bbedd
1 changed files with 9 additions and 3 deletions
|
@ -45,6 +45,7 @@ (define-module (gnu packages parallel)
|
|||
#:use-module (gnu packages base)
|
||||
#:use-module (gnu packages bash)
|
||||
#:use-module (gnu packages check)
|
||||
#:use-module (gnu packages documentation)
|
||||
#:use-module (gnu packages flex)
|
||||
#:use-module (gnu packages freeipmi)
|
||||
#:use-module (gnu packages linux)
|
||||
|
@ -75,8 +76,13 @@ (define-public parallel
|
|||
'(begin
|
||||
(use-modules (guix build utils))
|
||||
;; Delete pre-generated manpages and documents.
|
||||
;; TODO: Add pod2pdf for pdfs, generate rst files.
|
||||
(for-each delete-file (find-files "src" "\\.(1|7|html)$"))))))
|
||||
;; TODO: generate rst files.
|
||||
;; parallel_cheat_bw.pdf uses libreoffice to be generated.
|
||||
(rename-file "src/parallel_cheat_bw.pdf"
|
||||
"src/parallel_cheat_bw.pdf-keep")
|
||||
(for-each delete-file (find-files "src" "\\.(1|7|html|pdf)$"))
|
||||
(rename-file "src/parallel_cheat_bw.pdf-keep"
|
||||
"src/parallel_cheat_bw.pdf")))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
|
@ -111,7 +117,7 @@ (define-public parallel
|
|||
"echo"
|
||||
":::" "1" "2" "3"))))))
|
||||
(native-inputs
|
||||
(list perl))
|
||||
(list perl pod2pdf))
|
||||
(inputs
|
||||
(list bash-minimal perl procps))
|
||||
(home-page "https://www.gnu.org/software/parallel/")
|
||||
|
|
Loading…
Reference in a new issue