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
@ -45,6 +45,7 @@
|
||||
#: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 @@
|
||||
'(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 @@
|
||||
"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 New Issue
Block a user